<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 cellspacing="0" cellpadding="0" class="" style="width:1603px;padding-top:10px;color:rgb(0,0,0);font-family:'Arial Unicode MS',Arial,sans-serif"><tbody><tr><td align="left" style="font-family:'Arial Unicode MS',Arial,sans-serif;vertical-align:top">
<table class="" style="display:block;padding-left:16px;padding-right:16px;line-height:18px"><tbody><tr><td align="left" style="font-family:'Arial Unicode MS',Arial,sans-serif;vertical-align:top"><table class="" style="display:block;padding-left:16px;padding-right:16px">
<tbody><tr><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">OS Version:RHEL - 6 - 4.el6.centos.10</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<input type="text" class="" 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"></td>
</tr><tr><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">Kernel Version:2.6.32 - 358.14.2.el6.x86_64</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<input type="text" class="" 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"></td>
</tr><tr><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">KVM Version:0.12.1.2 - 2.355.el6</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<input type="text" class="" 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"></td>
</tr><tr><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">LIBVIRT Version:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif">
<div class="" style="white-space:nowrap;font-family:Arial,sans-serif">VDSM Version:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">SPICE Version:0.12.0 - 12.el6</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<input type="text" class="" 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"></td>
</tr><tr><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">iSCSI Initiator Name:iqn.1994-05.com.redhat:9ea82ec11b83</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<input type="text" class="" 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"></td>
</tr></tbody></table></td><td align="left" style="font-family:'Arial Unicode MS',Arial,sans-serif;vertical-align:top"><table class="" style="display:block;padding-left:16px;padding-right:16px"><colgroup><col class="" style="min-width:100px"><col class="" style="min-width:100px;width:0px"></colgroup><tbody><tr>
<td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">SPM Priority:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<input type="text" class="" 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"></td></tr>
<tr><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">Active VMs:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif">
<div class="" style="white-space:nowrap;font-family:Arial,sans-serif">CPU Name:Intel SandyBridge Family</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><input type="text" class="" 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"></td>
</tr><tr><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">CPU Type:Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<input type="text" class="" 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"></td>
</tr><tr><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">CPU Sockets:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif">
<div class="" style="white-space:nowrap;font-family:Arial,sans-serif">CPU Cores per Socket:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">CPU Threads per Core:2 (SMT Enabled)</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<input type="text" class="" 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"></td>
</tr></tbody></table></td><td align="left" style="font-family:'Arial Unicode MS',Arial,sans-serif;vertical-align:top"><table class="" style="display:block;padding-left:16px;padding-right:16px"><colgroup><col class="" style="min-width:100px"><col class="" style="min-width:100px;width:0px"></colgroup><tbody><tr>
<td style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">Physical Memory:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif">
<div class="" style="white-space:nowrap;font-family:Arial,sans-serif">Swap Size:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">Shared Memory:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif">
<div class="" style="white-space:nowrap;font-family:Arial,sans-serif">Max free Memory for scheduling new VMs:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif"><div class="" style="white-space:nowrap;font-family:Arial,sans-serif">Memory Page Sharing:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif">
<span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif">
<div class="" style="white-space:nowrap;font-family:Arial,sans-serif">Automatic Large Pages:</div></td><td style="font-family:'Arial Unicode MS',Arial,sans-serif"><span class="" 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 style="font-family:'Arial Unicode MS',Arial,sans-serif"> </td></tr></tbody></table></td></tr></tbody></table><br class=""></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>