<div dir="ltr"><span style="text-decoration:none">Hi,</span><div><br></div><div>I have created:</div><div><br></div><div><span style="text-decoration:none"><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1163385" style="color:rgb(102,153,204);font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif;font-size:16px;font-weight:bold;text-decoration:none">Bug 1163385</a></span><span style="color:rgb(0,0,0);font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif;font-size:16px;font-weight:bold;background-color:rgb(208,208,208)"> -</span><span id="summary_alias_container" style="color:rgb(0,0,0);font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif;font-size:16px;font-weight:bold"> <span id="short_desc_nonedit_display">Error trying to add new hosted-engine host to upgraded oVirt cluster</span></span></div><div><span style="color:rgb(0,0,0);font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif;font-size:16px;font-weight:bold"><span><br></span></span></div><div><div>It is my first RedHat Bugzilla bug so please let me know if there is something I should do differently in the future.</div></div><div><br></div><div>Thanks,</div><div>David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 12, 2014 at 10:20 AM, Sandro Bonazzola <span dir="ltr">&lt;<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il 12/11/2014 16:10, David King ha scritto:<br>
<span class="">&gt; Hi everyone,<br>
&gt;<br>
&gt; I have upgraded my oVirt 3.4 hosted engine cluster to oVirt 3.5 using the<br>
&gt; upgrade instructions on the Wiki.  Everything appears to be working fine<br>
&gt; after the upgrade.<br>
&gt;<br>
&gt; However, I am now trying to add a new host to the hosted engine<br>
&gt; configuration but the hosted-engine --deploy fails after sshing the answers<br>
&gt; file from the upgraded primary configuration.  The following errors can be<br>
&gt; found in the setup log:<br>
&gt;<br>
&gt;<br>
&gt; Answer file lacks lockspace UUIDs, please use an answer file generated from<br>
&gt;&gt; the same version you are using on this additional host<br>
<br>
</span>Can you please open a BZ about this issue so we can track it?<br>
Jiri, Martin, is the file backend able to handle this kind of upgrade?<br>
<div><div class="h5"><br>
<br>
&gt;<br>
&gt;<br>
&gt; I confirmed that the answers file on the upgraded host does not have any<br>
&gt; lockspace UUIDs:<br>
&gt;<br>
&gt; OVEHOSTED_STORAGE/storageDatacenterName=str:hosted_datacenter<br>
&gt;&gt; OVEHOSTED_STORAGE/storageDomainName=str:hosted_storage<br>
&gt;&gt; OVEHOSTED_STORAGE/storageType=none:None<br>
&gt;&gt; OVEHOSTED_STORAGE/volUUID=str:da160775-07fe-4569-b45f-03be0c5896a5<br>
&gt;&gt; OVEHOSTED_STORAGE/domainType=str:nfs3<br>
&gt;&gt; OVEHOSTED_STORAGE/imgSizeGB=str:25<br>
&gt;&gt; OVEHOSTED_STORAGE/storageDomainConnection=str:<a href="http://192.168.8.12" target="_blank">192.168.8.12</a>:<br>
&gt;&gt; /mnt/data2/vm/engine<br>
&gt;&gt; OVEHOSTED_STORAGE/connectionUUID=str:880093ea-b0c1-448d-ac55-cde99feebc23<br>
&gt;&gt; OVEHOSTED_STORAGE/spUUID=str:5e7ff7c2-6e75-4ba8-a5cc-e8dc5d37e478<br>
&gt;&gt; OVEHOSTED_STORAGE/imgUUID=str:c9466bb6-a78c-4caa-bce3-22c87a5f3f1a<br>
&gt;&gt; OVEHOSTED_STORAGE/sdUUID=str:b12fd59c-380a-40b3-b7f2-02d455de1d3b<br>
&gt;<br>
&gt;<br>
&gt; Is there something I can do to update the answers file on the updated 3.5<br>
&gt; working host so this will work?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; David<br>
&gt;<br>
&gt; PS: Here is the relevant section of the hosted-engine setup log file:<br>
&gt;<br>
&gt; 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage<br>
&gt;&gt; validation METHOD<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.sanlock.lockspace.Plugin._validation<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:152 method<br>
&gt;&gt; exception<br>
&gt;&gt; Traceback (most recent call last):<br>
&gt;&gt;   File &quot;/usr/lib/python2.7/site-packages/otopi/context.py&quot;, line 142, in<br>
&gt;&gt; _executeMethod<br>
&gt;&gt;     method[&#39;method&#39;]()<br>
&gt;&gt;   File<br>
&gt;&gt; &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/sanlock/lockspace.py&quot;,<br>
&gt;&gt; line 102, in _validation<br>
&gt;&gt;     &#39;Answer file lacks lockspace UUIDs, please use an &#39;<br>
&gt;&gt; RuntimeError: Answer file lacks lockspace UUIDs, please use an answer file<br>
&gt;&gt; generated from the same version you are using on this additional host<br>
&gt;&gt; 2014-11-11 22:57:04 ERROR otopi.context context._executeMethod:161 Failed<br>
&gt;&gt; to execute stage &#39;Setup validation&#39;: Answer file lacks lockspace UUIDs,<br>
&gt;&gt; please use an answer file generated from the same version you are using on<br>
&gt;&gt; this additional host<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:490<br>
&gt;&gt; ENVIRONMENT DUMP - BEGIN<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:500 ENV<br>
&gt;&gt; BASE/error=bool:&#39;True&#39;<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:500 ENV<br>
&gt;&gt; BASE/exceptionInfo=list:&#39;[(&lt;type &#39;exceptions.RuntimeError&#39;&gt;,<br>
&gt;&gt; RuntimeError(&#39;Answer file lacks lockspace UUIDs, please use an answer file<br>
&gt;&gt; generated from the same version you are using on this additional host&#39;,),<br>
&gt;&gt; &lt;traceback object at 0x34c85a8&gt;)]&#39;<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:504<br>
&gt;&gt; ENVIRONMENT DUMP - END<br>
&gt;&gt; 2014-11-11 22:57:04 INFO otopi.context context.runSequence:417 Stage:<br>
&gt;&gt; Clean up<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context.runSequence:421 STAGE<br>
&gt;&gt; cleanup<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage<br>
&gt;&gt; cleanup METHOD<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.core.remote_answerfile.Plugin._cleanup<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage<br>
&gt;&gt; cleanup METHOD<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.engine.add_host.Plugin._cleanup<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage<br>
&gt;&gt; cleanup METHOD<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.pki.vdsmpki.Plugin._cleanup<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage<br>
&gt;&gt; cleanup METHOD<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._cleanup<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.storage.storage<br>
&gt;&gt; storage._spmStop:609 spmStop<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.storage.storage<br>
&gt;&gt; storage._cleanup:970 Not SPM?<br>
&gt;&gt; Traceback (most recent call last):<br>
&gt;&gt;   File<br>
&gt;&gt; &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py&quot;,<br>
&gt;&gt; line 968, in _cleanup<br>
&gt;&gt;     self._spmStop()<br>
&gt;&gt;   File<br>
&gt;&gt; &quot;/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py&quot;,<br>
&gt;&gt; line 617, in _spmStop<br>
&gt;&gt;     raise RuntimeError(status_uuid)<br>
&gt;&gt; RuntimeError: Not SPM<br>
&gt;&gt; 2014-11-11 22:57:04 DEBUG<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.storage.storage<br>
&gt;&gt; storage._storagePoolConnection:580 disconnectStoragePool<br>
&gt;&gt; 2014-11-11 22:57:08 DEBUG otopi.context context._executeMethod:138 Stage<br>
&gt;&gt; cleanup METHOD<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.vm.boot_disk.Plugin._cleanup<br>
&gt;&gt; 2014-11-11 22:57:08 DEBUG otopi.context context._executeMethod:138 Stage<br>
&gt;&gt; cleanup METHOD<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.core.answerfile.Plugin._save_answers_at_cleanup<br>
&gt;&gt; 2014-11-11 22:57:08 INFO<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.core.answerfile<br>
&gt;&gt; answerfile._save_answers:48 Generating answer file<br>
&gt;&gt; &#39;/etc/ovirt-hosted-engine/answers.conf&#39;<br>
&gt;&gt; 2014-11-11 22:57:09 INFO<br>
&gt;&gt; otopi.plugins.ovirt_hosted_engine_setup.core.answerfile<br>
&gt;&gt; answerfile._save_answers_at_cleanup:104 Answer file<br>
&gt;&gt; &#39;/etc/ovirt-hosted-engine/answers.conf&#39; has been updated<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Sandro Bonazzola<br>
Better technology. Faster innovation. Powered by community collaboration.<br>
See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br>
</font></span></blockquote></div><br></div>