<div dir="ltr">Hi,<div><br></div><div>Thanks for the patch - that appears to solve the lockspace problem.</div><div><br></div><div>Once I got past that error I got a second error at the CPU selection phase:</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"><span class="">[ ERROR ]</span> Failed to execute stage 'Environment customization': Invalid CPU type specified: None</blockquote><div>
<p class="">Investigating further I realized that I had not pulled the answers from the first host. I switched to the first host and have added the new host without any issues.</p><p class="">Thanks for the help,<br></p><p class="">-David <br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 13, 2014 at 3:36 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 13/11/2014 09:12, Jiri Moskovcak ha scritto:<br>
<span class="">> On 11/12/2014 04:20 PM, Sandro Bonazzola wrote:<br>
>> Il 12/11/2014 16:10, David King ha scritto:<br>
>>> 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>
>> 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>
><br>
> Hi Sandro,<br>
> yes, it is able to handle it, the lockspace uuid is needed only form iscsi (lvm based) storage, which is not the case when upgrading from 3.4, so we<br>
> should be safe skipping the check for lockspace UUID in the setup if the storage is on nfs.<br>
><br>
> --Jirka<br>
><br>
> @David, I'm afraid the setup is not able to add host to the cluster created in 3.4, the workaround might be to deploy the host with the setup from 3.4<br>
> and then update it. Sorry for the inconvenience :-/<br>
<br>
</span>David, can you apply this patch <a href="http://gerrit.ovirt.org/35104" target="_blank">http://gerrit.ovirt.org/35104</a> on the host you're adding to the cluster?<br>
It should solve your issue.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> --Jirka<br>
><br>
>><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>
>>> _______________________________________________<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>
>><br>
>><br>
><br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">--<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>
</div></div></blockquote></div><br></div>