[Users] Can't Attach Glusterfs Storage to Data Center
higkoohk
higkoohk at gmail.com
Tue Aug 27 05:40:02 UTC 2013
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-27
13: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
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130827/8437ee9a/attachment-0001.html>
More information about the Users
mailing list