[Users] Can't Attach Glusterfs Storage to Data Center

higkoohk higkoohk at gmail.com
Tue Aug 27 06:08:53 EDT 2013


I'm so sad , I found this error as a bug :
https://bugzilla.redhat.com/show_bug.cgi?id=977926 ?

And now I want to use oVirt on our productions, but still got this errors
after update kvm to 1.6.0.

I have no idea for this ,Anyone else ?
---------------------------
2013-08-27 18:01:22,929 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand]
(ajp--127.0.0.1-8702-2) Failed in CreateStoragePoolVDS method
2013-08-27 18:01:22,929 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand]
(ajp--127.0.0.1-8702-2) Error code AcquireHostIdFailure and error message
VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS,
error = Cannot acquire host id: ('551319ca-ea70-4cd3-a1df-3bd2bac9c7fa',
SanlockException(22, 'Sanlock lockspace add failure', 'Invalid argument'))
2013-08-27 18:01:22,932 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand]
(ajp--127.0.0.1-8702-2) Command CreateStoragePoolVDS execution failed.
Exception: VDSErrorException: VDSGenericException: VDSErrorException:
Failed to CreateStoragePoolVDS, error = Cannot acquire host id:
('551319ca-ea70-4cd3-a1df-3bd2bac9c7fa', SanlockException(22, 'Sanlock
lockspace add failure', 'Invalid argument'))
2013-08-27 18:01:22,933 ERROR
[org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand]
(ajp--127.0.0.1-8702-2) Command
org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand throw
Vdc Bll exception. With error message VdcBLLException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS,
error = Cannot acquire host id: ('551319ca-ea70-4cd3-a1df-3bd2bac9c7fa',
SanlockException(22, 'Sanlock lockspace add failure', 'Invalid argument'))
(Failed with VDSM error AcquireHostIdFailure and code 661)
---------------------------

Page now contain env:
[image: 内嵌图片 1]
many thanks !


2013/8/27 higkoohk <higkoohk at gmail.com>

> OK , I checked the arctile .
>
> There are 'Needs qemu version 1.3 which has the gluster block backend
> support' is not ok, keep trying now.
>
> thanks sahina !
>
>
> 2013/8/27 Sahina Bose <sabose at redhat.com>
>
>>
>> On 08/27/2013 11:10 AM, higkoohk wrote:
>>
>> the vdsm.log :
>> Thread-3817::DEBUG::2013-08-27
>> 13:38:30,980::persistentDict::234::Storage.PersistentDict::(refresh) read
>> lines (FileMetadataRW)=['CLASS=Data', 'DESCRIPTION=GlusterDomain',
>> 'IOOPTIMEOUTSEC=10', 'LEASERETRIES=3', 'LEASETIMESEC=60', 'LOCKPOLICY=',
>> 'LOCKRENEWALINTERVALSEC=5', 'POOL_UUID=', 'REMOTE_PATH=172.28.26.102:vm-storage',
>> 'ROLE=Regular', 'SDUUID=9a8554b5-c514-4e46-91cc-b0490a977d55',
>> 'TYPE=GLUSTERFS', 'VERSION=3',
>> '_SHA_CKSUM=7329f71f34ccd201c574c9e06dd9d5c07084d17f']
>> Thread-3817::WARNING::2013-08-27
>> 13:38:30,981::fileUtils::167::Storage.fileUtils::(createdir) Dir
>> /rhev/data-center/e8f568cf-e9db-4cf1-b812-1e4b8ae530cc already exists
>> Thread-3817::DEBUG::2013-08-27
>> 13:38:30,981::persistentDict::167::Storage.PersistentDict::(transaction)
>> Starting transaction
>> Thread-3817::DEBUG::2013-08-27
>> 13:38:30,981::persistentDict::175::Storage.PersistentDict::(transaction)
>> Finished transaction
>> Thread-3817::INFO::2013-08-2713:38:30,981::clusterlock::174::SANLock::(acquireHostId) Acquiring host id
>> for domain 9a8554b5-c514-4e46-91cc-b0490a977d55 (id: 250)
>> Thread-3817::ERROR::2013-08-27
>> 13:38:31,982::task::850::TaskManager.Task::(_setError)
>> Task=`e2ec1d1f-c94d-46bd-8db3-ef83fed0fd79`::Unexpected error
>> Traceback (most recent call last):
>>   File "/usr/share/vdsm/storage/task.py", line 857, in _run
>>     return fn(*args, **kargs)
>>   File "/usr/share/vdsm/logUtils.py", line 45, in wrapper
>>     res = f(*args, **kwargs)
>>   File "/usr/share/vdsm/storage/hsm.py", line 960, in createStoragePool
>>     masterVersion, leaseParams)
>>   File "/usr/share/vdsm/storage/sp.py", line 617, in create
>>     self._acquireTemporaryClusterLock(msdUUID, leaseParams)
>>   File "/usr/share/vdsm/storage/sp.py", line 559, in
>> _acquireTemporaryClusterLock
>>     msd.acquireHostId(self.id)
>>   File "/usr/share/vdsm/storage/sd.py", line 458, in acquireHostId
>>     self._clusterLock.acquireHostId(hostId, async)
>>    File "/usr/share/vdsm/storage/clusterlock.py", line 189, in
>> acquireHostId
>>     raise se.AcquireHostIdFailure(self._sdUUID, e)
>> AcquireHostIdFailure: Cannot acquire host id:
>> ('9a8554b5-c514-4e46-91cc-b0490a977d55', SanlockException(22, 'Sanlock
>> lockspace add failure', 'Invalid argument'))
>> Thread-3817::DEBUG::2013-08-27
>> 13:38:31,982::task::869::TaskManager.Task::(_run)
>> Task=`e2ec1d1f-c94d-46bd-8db3-ef83fed0fd79`::Task._run:
>> e2ec1d1f-c94d-46bd-8db3-ef83fed0fd79 (None,
>> 'e8f568cf-e9db-4cf1-b812-1e4b8ae530cc', 'GlusterDataCenter',
>> '9a8554b5-c514-4e46-91cc-b0490a977d55',
>> ['9a8554b5-c514-4e46-91cc-b0490a977d55'], 7, None, 5, 60, 10, 3) {} failed
>> - stopping task
>>
>>
>> I'm not very aware of the VDSM error, adding Deepak to look at it.
>> If you're trying to use GlusterFS as storage domain, have you followed
>> the  "Important Pre-requisites" in
>> http://www.ovirt.org/Features/GlusterFS_Storage_Domain?
>>
>> thank!
>> sahina
>>
>>
>>
>> 2013/8/27 higkoohk <higkoohk at gmail.com>
>>
>>>  Hello everyone!
>>>
>>>  I'm init a glusterfs vm center , and now doing storage domain fail
>>> torage .
>>>
>>>  Still get 'Cannot acquire host id'.
>>>
>>>  Env:
>>>       OS Version:RHEL - 6 - 4.el6.centos.10
>>>    Kernel Version:2.6.32 - 358.14.2.el6.x86_64
>>>    KVM Version:0.12.1.2 - 2.355.el6
>>>    LIBVIRT Version:
>>>  libvirt-1.1.1-1.el6
>>> VDSM Version:
>>>  vdsm-4.12.0-0.1.rc3.el6
>>> SPICE Version:0.12.0 - 12.el6
>>>    iSCSI Initiator Name:iqn.1994-05.com.redhat:9ea82ec11b83
>>>       SPM Priority:
>>>    Active VMs:
>>>  0
>>> CPU Name:Intel SandyBridge Family
>>>    CPU Type:Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
>>>    CPU Sockets:
>>>  1
>>> CPU Cores per Socket:
>>>  6
>>> CPU Threads per Core:2 (SMT Enabled)
>>>       Physical Memory:
>>>  24135 MB total, 965 MB used, 23170 MB free
>>> Swap Size:
>>>  23999 MB total, 0 MB used, 23999 MB free
>>> Shared Memory:
>>>  0%
>>> Max free Memory for scheduling new VMs:
>>>  23749 MB
>>> Memory Page Sharing:
>>>  Inactive
>>> Automatic Large Pages:
>>>  Always
>>>
>>>  The error message is :
>>>
>>>  2013-08-27 12:13:25,814 ERROR
>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand]
>>> (pool-6-thread-50) Failed in CreateStoragePoolVDS method
>>> 2013-08-27 12:13:25,815 ERROR
>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand]
>>> (pool-6-thread-50) Error code AcquireHostIdFailure and error message
>>> VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS,
>>> error = Cannot acquire host id: ('9a8554b5-c514-4e46-91cc-b0490a977d55',
>>> SanlockException(22, 'Sanlock lockspace add failure', 'Invalid argument'))
>>> 2013-08-27 12:13:25,817 ERROR
>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand]
>>> (pool-6-thread-50) Command CreateStoragePoolVDS execution failed.
>>> Exception: VDSErrorException: VDSGenericException: VDSErrorException:
>>> Failed to CreateStoragePoolVDS, error = Cannot acquire host id:
>>> ('9a8554b5-c514-4e46-91cc-b0490a977d55', SanlockException(22, 'Sanlock
>>> lockspace add failure', 'Invalid argument'))
>>> 2013-08-27 12:13:25,819 ERROR
>>> [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand]
>>> (pool-6-thread-50) Command
>>> org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand throw
>>> Vdc Bll exception. With error message VdcBLLException:
>>> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
>>> VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS,
>>> error = Cannot acquire host id: ('9a8554b5-c514-4e46-91cc-b0490a977d55',
>>> SanlockException(22, 'Sanlock lockspace add failure', 'Invalid argument'))
>>> (Failed with VDSM error AcquireHostIdFailure and code 661)
>>>
>>>  What can i do now ? many thanks
>>>
>>
>>
>>
>> _______________________________________________
>> Users mailing listUsers at ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130827/5ddd27fd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: higkoo.png
Type: image/png
Size: 149723 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130827/5ddd27fd/attachment-0001.png>


More information about the Users mailing list