Previously, ovirt-hosted-engine-setup assumed that an answer file provided to an additional host deployment was generated by the initial host deployment. However, Red Hat Enterprise Virtualization Hypervisor (RHEV-H) nodes generated their own partial answer files that would then be passed to ovirt-hosted-engine-setup. This meant that ovirt-hosted-engine-setup neglected to collect the correct answer file from the initial host, causing the additional RHEV-H node to fail deployment. Now, the user is prompted to confirm that the answer file being passed to ovirt-hosted-engine-setup is complete, with an offer to collect the correct answer file from the initial host if it is incomplete.
Verified on ovirt-hosted-engine-setup-1.2.6-1.el7ev.noarch
Run deployment on second host with partial answer file:
[environment:default]
OVEHOSTED_CORE/screenProceed=none:None
OVEHOSTED_CORE/deployProceed=bool:True
OVEHOSTED_CORE/confirmSettings=bool:True
OVEHOSTED_NETWORK/fqdn=str:hosted-engine.qa.lab.tlv.redhat.com
OVEHOSTED_NETWORK/bridgeName=str:rhevm
OVEHOSTED_NETWORK/firewallManager=str:iptables
but host ask if download answer file from second host
A configuration file must be supplied to deploy Hosted Engine on an additional host.
The answer file may be fetched from the first host using scp.
If the supplied answerfile is complete, answer no to the following question to continue just with that.
Do you want to scp the answer file from the first host? (Yes, No)[Yes]:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-1941.html
Verified on ovirt-hosted-engine-setup-1.2.6-1.el7ev.noarch Run deployment on second host with partial answer file: [environment:default] OVEHOSTED_CORE/screenProceed=none:None OVEHOSTED_CORE/deployProceed=bool:True OVEHOSTED_CORE/confirmSettings=bool:True OVEHOSTED_NETWORK/fqdn=str:hosted-engine.qa.lab.tlv.redhat.com OVEHOSTED_NETWORK/bridgeName=str:rhevm OVEHOSTED_NETWORK/firewallManager=str:iptables but host ask if download answer file from second host A configuration file must be supplied to deploy Hosted Engine on an additional host. The answer file may be fetched from the first host using scp. If the supplied answerfile is complete, answer no to the following question to continue just with that. Do you want to scp the answer file from the first host? (Yes, No)[Yes]: