<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:'DejaVu Sans','Liberation Sans',sans-serif;font-size:16px;font-weight:bold;text-decoration:none">Bug 1163385</a></span><span style="color:rgb(0,0,0);font-family:'DejaVu Sans','Liberation Sans',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:'DejaVu Sans','Liberation Sans',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:'DejaVu Sans','Liberation Sans',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"><<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>></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="">> Hi everyone,<br>
><br>
> I have upgraded my oVirt 3.4 hosted engine cluster to oVirt 3.5 using the<br>
> upgrade instructions on the Wiki. Everything appears to be working fine<br>
> after the upgrade.<br>
><br>
> However, I am now trying to add a new host to the hosted engine<br>
> configuration but the hosted-engine --deploy fails after sshing the answers<br>
> file from the upgraded primary configuration. The following errors can be<br>
> found in the setup log:<br>
><br>
><br>
> Answer file lacks lockspace UUIDs, please use an answer file generated from<br>
>> 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>
><br>
><br>
> I confirmed that the answers file on the upgraded host does not have any<br>
> lockspace UUIDs:<br>
><br>
> 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:<a href="http://192.168.8.12" target="_blank">192.168.8.12</a>:<br>
>> /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<br>
><br>
><br>
> Is there something I can do to update the answers file on the updated 3.5<br>
> working host so this will work?<br>
><br>
> Thanks,<br>
> David<br>
><br>
> PS: Here is the relevant section of the hosted-engine setup log file:<br>
><br>
> 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage<br>
>> validation METHOD<br>
>> otopi.plugins.ovirt_hosted_engine_setup.sanlock.lockspace.Plugin._validation<br>
>> 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:152 method<br>
>> exception<br>
>> Traceback (most recent call last):<br>
>> File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in<br>
>> _executeMethod<br>
>> method['method']()<br>
>> File<br>
>> "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/sanlock/lockspace.py",<br>
>> line 102, in _validation<br>
>> 'Answer file lacks lockspace UUIDs, please use an '<br>
>> RuntimeError: Answer file lacks lockspace UUIDs, please use an answer file<br>
>> 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<br>
>> to execute stage 'Setup validation': Answer file lacks lockspace UUIDs,<br>
>> please use an answer file generated from the same version you are using on<br>
>> this additional host<br>
>> 2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:490<br>
>> ENVIRONMENT DUMP - BEGIN<br>
>> 2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:500 ENV<br>
>> BASE/error=bool:'True'<br>
>> 2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:500 ENV<br>
>> BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>,<br>
>> RuntimeError('Answer file lacks lockspace UUIDs, please use an answer file<br>
>> generated from the same version you are using on this additional host',),<br>
>> <traceback object at 0x34c85a8>)]'<br>
>> 2014-11-11 22:57:04 DEBUG otopi.context context.dumpEnvironment:504<br>
>> ENVIRONMENT DUMP - END<br>
>> 2014-11-11 22:57:04 INFO otopi.context context.runSequence:417 Stage:<br>
>> Clean up<br>
>> 2014-11-11 22:57:04 DEBUG otopi.context context.runSequence:421 STAGE<br>
>> cleanup<br>
>> 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage<br>
>> cleanup METHOD<br>
>> 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<br>
>> cleanup METHOD<br>
>> 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<br>
>> cleanup METHOD<br>
>> otopi.plugins.ovirt_hosted_engine_setup.pki.vdsmpki.Plugin._cleanup<br>
>> 2014-11-11 22:57:04 DEBUG otopi.context context._executeMethod:138 Stage<br>
>> cleanup METHOD<br>
>> otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._cleanup<br>
>> 2014-11-11 22:57:04 DEBUG<br>
>> otopi.plugins.ovirt_hosted_engine_setup.storage.storage<br>
>> storage._spmStop:609 spmStop<br>
>> 2014-11-11 22:57:04 DEBUG<br>
>> otopi.plugins.ovirt_hosted_engine_setup.storage.storage<br>
>> storage._cleanup:970 Not SPM?<br>
>> Traceback (most recent call last):<br>
>> File<br>
>> "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py",<br>
>> line 968, in _cleanup<br>
>> self._spmStop()<br>
>> File<br>
>> "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py",<br>
>> line 617, in _spmStop<br>
>> raise RuntimeError(status_uuid)<br>
>> RuntimeError: Not SPM<br>
>> 2014-11-11 22:57:04 DEBUG<br>
>> otopi.plugins.ovirt_hosted_engine_setup.storage.storage<br>
>> storage._storagePoolConnection:580 disconnectStoragePool<br>
>> 2014-11-11 22:57:08 DEBUG otopi.context context._executeMethod:138 Stage<br>
>> cleanup METHOD<br>
>> 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<br>
>> cleanup METHOD<br>
>> otopi.plugins.ovirt_hosted_engine_setup.core.answerfile.Plugin._save_answers_at_cleanup<br>
>> 2014-11-11 22:57:08 INFO<br>
>> otopi.plugins.ovirt_hosted_engine_setup.core.answerfile<br>
>> answerfile._save_answers:48 Generating answer file<br>
>> '/etc/ovirt-hosted-engine/answers.conf'<br>
>> 2014-11-11 22:57:09 INFO<br>
>> otopi.plugins.ovirt_hosted_engine_setup.core.answerfile<br>
>> answerfile._save_answers_at_cleanup:104 Answer file<br>
>> '/etc/ovirt-hosted-engine/answers.conf' has been updated<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">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>
<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>