<div dir="ltr">Hi everyone,<div><br></div><div>I have upgraded my oVirt 3.4 hosted engine cluster to oVirt 3.5 using the upgrade instructions on the Wiki.  Everything appears to be working fine after the upgrade.</div><div><br></div><div>However, I am now trying to add a new host to the hosted engine configuration but the hosted-engine --deploy fails after sshing the answers file from the upgraded primary configuration.  The following errors can be found in the setup log:</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Answer file lacks lockspace UUIDs, please use an answer file generated from the same version you are using on this additional host</blockquote><div><br></div><div><div>I confirmed that the answers file on the upgraded host does not have any lockspace UUIDs:</div></div><div><br></div><div>







<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">OVEHOSTED_STORAGE/storageDatacenterName=str:hosted_datacenter<br>OVEHOSTED_STORAGE/storageDomainName=str:hosted_storage<br>OVEHOSTED_STORAGE/storageType=none:None<br>OVEHOSTED_STORAGE/volUUID=str:da160775-07fe-4569-b45f-03be0c5896a5<br>OVEHOSTED_STORAGE/domainType=str:nfs3<br>OVEHOSTED_STORAGE/imgSizeGB=str:25<br>OVEHOSTED_STORAGE/storageDomainConnection=str:192.168.8.12:/mnt/data2/vm/engine<br>OVEHOSTED_STORAGE/connectionUUID=str:880093ea-b0c1-448d-ac55-cde99feebc23<br>OVEHOSTED_STORAGE/spUUID=str:5e7ff7c2-6e75-4ba8-a5cc-e8dc5d37e478<br>OVEHOSTED_STORAGE/imgUUID=str:c9466bb6-a78c-4caa-bce3-22c87a5f3f1a<br>OVEHOSTED_STORAGE/sdUUID=str:b12fd59c-380a-40b3-b7f2-02d455de1d3b</blockquote>









</div><div><br></div><div>Is there something I can do to update the answers file on the updated 3.5 working host so this will work?</div><div><br></div><div>Thanks,</div><div>David</div><div><br></div><div>PS: Here is the relevant section of the hosted-engine setup log file:</div><div><br></div><div>







<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage validation METHOD otopi.plugins.ovirt_hosted_engine_setup.sanlock.lockspace.Plugin._validation<br>2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:152 method exception<br>Traceback (most recent call last):<br>  File &quot;/usr/lib/python2.7/site-packages/otopi/context.py&quot;, line 142, in _executeMethod<br>    method[&#39;method&#39;]()<br>  File &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/sanlock/lockspace.py&quot;, line 102, in _validation<br>    &#39;Answer file lacks lockspace UUIDs, please use an &#39;<br>RuntimeError: Answer file lacks lockspace UUIDs, please use an answer file generated from the same version you are using on this additional host<br>2014-11-11 22:57:04 ERROR otopi.context context._executeMethod:161 Failed to execute stage &#39;Setup validation&#39;: Answer file lacks lockspace UUIDs, please use an answer file generated from the same version you are using on this additional host<br>2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:490 ENVIRONMENT DUMP - BEGIN<br>2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:500 ENV BASE/error=bool:&#39;True&#39;<br>2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:500 ENV BASE/exceptionInfo=list:&#39;[(&lt;type &#39;exceptions.RuntimeError&#39;&gt;, RuntimeError(&#39;Answer file lacks lockspace UUIDs, please use an answer file generated from the same version you are using on this additional host&#39;,), &lt;traceback object at 0x34c85a8&gt;)]&#39;<br>2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:504 ENVIRONMENT DUMP - END<br>2014-11-11 22:57:04 INFO otopi.context context.runSequence:417 Stage: Clean up<br>2014-11-11 22:57:04 DEBUG otopi.context context.runSequence:421 STAGE cleanup<br>2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.core.remote_answerfile.Plugin._cleanup<br>2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.engine.add_host.Plugin._cleanup<br>2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.pki.vdsmpki.Plugin._cleanup<br>2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._cleanup<br>2014-11-11 22:57:04 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.storage storage._spmStop:609 spmStop<br>2014-11-11 22:57:04 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.storage storage._cleanup:970 Not SPM?<br>Traceback (most recent call last):<br>  File &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py&quot;, line 968, in _cleanup<br>    self._spmStop()<br>  File &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py&quot;, line 617, in _spmStop<br>    raise RuntimeError(status_uuid)<br>RuntimeError: Not SPM<br>2014-11-11 22:57:04 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.storage storage._storagePoolConnection:580 disconnectStoragePool<br>2014-11-11 22:57:08 DEBUG otopi.context context._executeMethod:138 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.vm.boot_disk.Plugin._cleanup<br>2014-11-11 22:57:08 DEBUG otopi.context context._executeMethod:138 Stage cleanup METHOD otopi.plugins.ovirt_hosted_engine_setup.core.answerfile.Plugin._save_answers_at_cleanup<br>2014-11-11 22:57:08 INFO otopi.plugins.ovirt_hosted_engine_setup.core.answerfile answerfile._save_answers:48 Generating answer file &#39;/etc/ovirt-hosted-engine/answers.conf&#39;<br>2014-11-11 22:57:09 INFO otopi.plugins.ovirt_hosted_engine_setup.core.answerfile answerfile._save_answers_at_cleanup:104 Answer file &#39;/etc/ovirt-hosted-engine/answers.conf&#39; has been updated</blockquote>






























<p class=""><br></p><p class=""><br></p></div></div>