[ovirt-users] Cannot add Hosted Engine Host because of missing answersfile

Simone Tiraboschi stirabos at redhat.com
Mon Jul 4 16:32:13 UTC 2016


On Mon, Jul 4, 2016 at 3:54 PM, Matt . <yamakasi.014 at gmail.com> wrote:
> Indeed, that is what I thought, but does this mean I need to reinstall
> that whole VM ?

Yes, unfortunately the best option, since you installation never
completed, is to clean the hosted-engine storage domain and restart
from scratch.
If you use the engine appliance (yum install ovirt-engine-appliance)
the whole installation will take about 15/20 minutes (excluding
download time).


> And what about the hosted_storare and such ?
>
> 2016-07-04 12:36 GMT+02:00 Simone Tiraboschi <stirabos at redhat.com>:
>> On Mon, Jul 4, 2016 at 10:48 AM, Matt . <yamakasi.014 at gmail.com> wrote:
>>> Hi,
>>>
>>> Yes, the issue is that I don't have that info on the shared storage
>>> indeed. I was wondering if I just can create it manually.
>>
>> It's not that easy and not that safe.
>> It will be much easier and quicker to simply redeploy the first host.
>>
>>> I would like to add some to the documentation there if it's possible.
>>>
>>> Logs will be posted :)
>>>
>>> 2016-07-04 10:44 GMT+02:00 Simone Tiraboschi <stirabos at redhat.com>:
>>>> On Mon, Jul 4, 2016 at 10:25 AM, Matt . <yamakasi.014 at gmail.com> wrote:
>>>>> Hi Sure I can, I will attach them today.
>>>>>
>>>>> The install failed at the end as the installer/deploy didn't like my
>>>>> hostfile on the vdsm host where I was doing the install. The install
>>>>> of the engine went fine.
>>>>
>>>> Do you mean it failed on the first host?
>>>> The configuration is written on the shared storage if and only if the
>>>> first host successfully deployed.
>>>> If you have an issue on the first host you cannot simply add other
>>>> hosts and you have to fix there first.
>>>>
>>>>> I don't think it's a bug, it could be tackled when such thing happens
>>>>> but still, it was a config issue what actually shouldn't be an issue
>>>>> to let the full install succeed.
>>>>>
>>>>> Do you upfront have an idea if I need to do a full new deploy ?
>>>>>
>>>>> I will grab the logs for you later on.
>>>>
>>>> Thanks
>>>>
>>>>> Do you want them in a bugreport ?
>>>>
>>>> Let's see the logs before
>>>>
>>>>> Thanks,
>>>>>
>>>>> Matt
>>>>>
>>>>> 2016-07-04 10:03 GMT+02:00 Simone Tiraboschi <stirabos at redhat.com>:
>>>>>> On Mon, Jul 4, 2016 at 6:31 AM, Matt . <yamakasi.014 at gmail.com> wrote:
>>>>>>> Hi!
>>>>>>>
>>>>>>> Apperently there has been something gone wrong with the hosted engine
>>>>>>> install which I can perfectly start but cannot add any Host to the HA
>>>>>>> setup.
>>>>>>>
>>>>>>> I'm missing an answers.conf on my host where I did the installation.
>>>>>>>
>>>>>>> Has anyone an idea if I can fix this without a new full deploy ?
>>>>>>>
>>>>>>> I'm on 3.6.7
>>>>>>
>>>>>> Can you please report the version of ovirt-hosted-engine-ha and
>>>>>> ovirt-hosted-engine-setup from your working hosts?
>>>>>> Can you please attach hosted-engine-setup logs from your first host?
>>>>>>
>>>>>>> Some errorlog:
>>>>>>>
>>>>>>>
>>>>>>>           --== STORAGE CONFIGURATION ==--
>>>>>>>
>>>>>>>           During customization use CTRL-D to abort.
>>>>>>>           Please specify the storage you would like to use (glusterfs,
>>>>>>> iscsi, fc, nfs3, nfs4)[nfs3]:
>>>>>>>           Please specify the full shared storage connection path to
>>>>>>> use (example: host:/path): filer-01.my-domain.tld:/vol/vol0/oVIRT_HE
>>>>>>>           The specified storage location already contains a data
>>>>>>> domain. Is this an additional host setup (Yes, No)[Yes]?
>>>>>>> [ INFO  ] Installing on additional host
>>>>>>>           Please specify the Host ID [Must be integer, default: 2]:
>>>>>>>
>>>>>>>           --== SYSTEM CONFIGURATION ==--
>>>>>>>
>>>>>>> [WARNING] A configuration file must be supplied to deploy Hosted
>>>>>>> Engine on an additional host.
>>>>>>> [ ERROR ] 'version' is not stored in the HE configuration image
>>>>>>> [ ERROR ] Unable to get the answer file from the shared storage
>>>>>>> [ ERROR ] Failed to execute stage 'Environment customization': Unable
>>>>>>> to get the answer file from the shared storage
>>>>>>> [ INFO  ] Stage: Clean up
>>>>>>> [ INFO  ] Generating answer file
>>>>>>> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160704062340.conf'
>>>>>>> [ INFO  ] Stage: Pre-termination
>>>>>>> [ INFO  ] Stage: Termination
>>>>>>> [ ERROR ] Hosted Engine deployment failed: this system is not
>>>>>>> reliable, please check the issue, fix and redeploy
>>>>>>>           Log file is located at
>>>>>>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20160704062311-eqejnq.log
>>>>>>>
>>>>>>> I hope we can fix this.
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at ovirt.org
>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list