<div dir="ltr"><div>I'm so sad , I found this error as a bug : <a href="https://bugzilla.redhat.com/show_bug.cgi?id=977926">https://bugzilla.redhat.com/show_bug.cgi?id=977926</a> ?</div><div><br></div><div>And now I want to use oVirt on our productions, but still got this errors after update kvm to 1.6.0.</div>
<div><br></div><div>I have no idea for this ,Anyone else ?</div><div>---------------------------</div><div><div>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</div>
<div>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'))</div>
<div>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'))</div>
<div>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)</div>
</div><div>---------------------------<br></div><div><br></div><div>Page now contain env:</div><div><img src="cid:ii_140bf3cbd3d32f68" alt="ÄÚǶͼƬ 1" width="1285" height="710"></div><div>many thanks ! </div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/8/27 higkoohk <span dir="ltr"><<a href="mailto:higkoohk@gmail.com" target="_blank">higkoohk@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">OK , I checked the arctile .<div><br></div><div>There are 'Needs qemu version 1.3 which has the gluster block backend support' is not ok, keep trying now.</div><div><br></div><div>thanks sahina !</div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/27 Sahina Bose <span dir="ltr"><<a href="mailto:sabose@redhat.com" target="_blank">sabose@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div>
<br>
<div>On 08/27/2013 11:10 AM, higkoohk wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">the vdsm.log :
<div>
<div>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']</div>
<div>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</div>
<div>Thread-3817::DEBUG::2013-08-27
13:38:30,981::persistentDict::167::Storage.PersistentDict::(transaction)
Starting transaction</div>
<div>Thread-3817::DEBUG::2013-08-27
13:38:30,981::persistentDict::175::Storage.PersistentDict::(transaction)
Finished transaction</div>
<div>Thread-3817::<a>INFO::2013-08-27</a>
13:38:30,981::clusterlock::174::SANLock::(acquireHostId)
Acquiring host id for domain
9a8554b5-c514-4e46-91cc-b0490a977d55 (id: 250)</div>
<div>Thread-3817::ERROR::2013-08-27
13:38:31,982::task::850::TaskManager.Task::(_setError)
Task=`e2ec1d1f-c94d-46bd-8db3-ef83fed0fd79`::Unexpected
error</div>
<div>Traceback (most recent call last):</div>
<div> File "/usr/share/vdsm/storage/task.py", line 857, in
_run</div>
<div> return fn(*args, **kargs)</div>
<div> File "/usr/share/vdsm/logUtils.py", line 45, in wrapper</div>
<div> res = f(*args, **kwargs)</div>
<div> File "/usr/share/vdsm/storage/hsm.py", line 960, in
createStoragePool</div>
<div> masterVersion, leaseParams)</div>
<div> File "/usr/share/vdsm/storage/sp.py", line 617, in
create</div>
<div> self._acquireTemporaryClusterLock(msdUUID,
leaseParams)</div>
<div> File "/usr/share/vdsm/storage/sp.py", line 559, in
_acquireTemporaryClusterLock</div>
<div> msd.acquireHostId(<a href="http://self.id" target="_blank">self.id</a>)</div>
<div> File "/usr/share/vdsm/storage/sd.py", line 458, in
acquireHostId</div>
<div> self._clusterLock.acquireHostId(hostId, async)</div>
<div>
File "/usr/share/vdsm/storage/clusterlock.py", line 189,
in acquireHostId</div>
<div> raise se.AcquireHostIdFailure(self._sdUUID, e)</div>
<div>AcquireHostIdFailure: Cannot acquire host id:
('9a8554b5-c514-4e46-91cc-b0490a977d55',
SanlockException(22, 'Sanlock lockspace add failure',
'Invalid argument'))</div>
<div>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</div>
</div>
</div>
</blockquote>
<br></div></div>
I'm not very aware of the VDSM error, adding Deepak to look at it.<br>
If you're trying to use GlusterFS as storage domain, have you
followed the "Important Pre-requisites" in
<a href="http://www.ovirt.org/Features/GlusterFS_Storage_Domain" target="_blank">http://www.ovirt.org/Features/GlusterFS_Storage_Domain</a>?<br>
<br>
thank!<br>
sahina<br>
<blockquote type="cite"><div><div>
<div dir="ltr">
<div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/8/27 higkoohk <span dir="ltr"><<a href="mailto:higkoohk@gmail.com" target="_blank">higkoohk@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hello everyone!</div>
<div><br>
</div>
<div>I'm init a glusterfs vm center , and now doing
storage domain fail torage .</div>
<div><br>
</div>
<div>Still get 'Cannot acquire host id'.</div>
<div><br>
</div>
Env:
<div>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left">
<table style="display:block;padding-left:16px;padding-right:16px;line-height:18px">
<tbody>
<tr>
<td align="left">
<table style="display:block;padding-left:16px;padding-right:16px">
<tbody>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">OS
Version:RHEL - 6 -
4.el6.centos.10</div>
</td>
<td>
<input readonly title="RHEL - 6 -
4.el6.centos.10" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:361px" type="text"></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">Kernel
Version:2.6.32 -
358.14.2.el6.x86_64</div>
</td>
<td>
<input readonly title="2.6.32 -
358.14.2.el6.x86_64" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:361px" type="text"></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">KVM
Version:0.12.1.2 - 2.355.el6</div>
</td>
<td>
<input readonly title="0.12.1.2 - 2.355.el6" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:361px" type="text"></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">LIBVIRT
Version:</div>
</td>
<td>
<span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">libvirt-1.1.1-1.el6</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">VDSM
Version:</div>
</td>
<td><span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">vdsm-4.12.0-0.1.rc3.el6</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">SPICE
Version:0.12.0 - 12.el6</div>
</td>
<td>
<input readonly title="0.12.0 - 12.el6" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:361px" type="text"></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">iSCSI
Initiator
Name:iqn.1994-05.com.redhat:9ea82ec11b83</div>
</td>
<td>
<input readonly title="iqn.1994-05.com.redhat:9ea82ec11b83" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:361px" type="text"></td>
</tr>
</tbody>
</table>
</td>
<td align="left">
<table style="display:block;padding-left:16px;padding-right:16px">
<colgroup><col style="min-width:100px"><col style="min-width:100px;width:0px"></colgroup><tbody>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">SPM
Priority:</div>
</td>
<td>
<input readonly title="Medium" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:343px" type="text"></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">Active
VMs:</div>
</td>
<td>
<span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">0</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">CPU
Name:Intel SandyBridge Family</div>
</td>
<td><input readonly title="Intel SandyBridge
Family" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:343px" type="text"></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">CPU
Type:Intel(R) Xeon(R) CPU
E5-2620 0 @ 2.00GHz</div>
</td>
<td>
<input readonly title="Intel(R) Xeon(R) CPU
E5-2620 0 @ 2.00GHz" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:343px" type="text"></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">CPU
Sockets:</div>
</td>
<td>
<span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">1</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">CPU
Cores per Socket:</div>
</td>
<td><span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">6</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">CPU
Threads per Core:2 (SMT
Enabled)</div>
</td>
<td>
<input readonly title="2 (SMT Enabled)" style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px;border-width:0px;width:343px" type="text"></td>
</tr>
</tbody>
</table>
</td>
<td align="left">
<table style="display:block;padding-left:16px;padding-right:16px">
<colgroup><col style="min-width:100px"><col style="min-width:100px;width:0px"></colgroup><tbody>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">Physical
Memory:</div>
</td>
<td>
<span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">24135
MB total, 965 MB used, 23170
MB free</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">Swap
Size:</div>
</td>
<td><span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">23999
MB total, 0 MB used, 23999 MB
free</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">Shared
Memory:</div>
</td>
<td>
<span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">0%</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">Max
free Memory for scheduling new
VMs:</div>
</td>
<td><span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">23749
MB</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">Memory
Page Sharing:</div>
</td>
<td>
<span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">Inactive</span></td>
</tr>
<tr>
<td>
<div style="white-space:nowrap;font-family:Arial,sans-serif">Automatic
Large Pages:</div>
</td>
<td><span style="white-space:nowrap;color:rgb(119,119,119);font-family:Arial,sans-serif;padding-left:4px;padding-top:4px;padding-bottom:4px">Always</span></td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
</td>
</tr>
</tbody>
</table>
<div><br>
</div>
<div>The error message is : </div>
<div>
<br>
</div>
<div>
<div>2013-08-27 12:13:25,814 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand]
(pool-6-thread-50) Failed in CreateStoragePoolVDS
method</div>
<div>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'))</div>
<div>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'))</div>
<div>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)</div>
</div>
</div>
<div><br>
</div>
<div>What can i do now ? many thanks</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>