The hosted-engine upgrade to Red Hat Virtualization 4.0 was failing with an unclear error message if the answer file on the shared storage was invalid. This update ensures that the error message is informative and that the user can recover from a failed upgrade.
ok, ovirt-hosted-engine-setup-1.3.7.3-1.el7ev.noarch
(heads up: this is only for hosted-engine command execution, tested while deploying 2nd SHE host into "broken" setup)
~~~
...
--== SYSTEM CONFIGURATION ==--
[WARNING] A configuration file must be supplied to deploy Hosted Engine on an additional host.
[ INFO ] Answer file successfully loaded
[ ERROR ] The answer file on the shared storage is invalid, please check and fix it: File contains no sect
ion headers. file: <???>, line: 1 u'None'
[ ERROR ] Failed to execute stage 'Environment customization': The answer file on the shared storage is in
valid, please check and fix it: File contains no section headers. file: <???>, line: 1 u'None'
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160913104211.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and re
deploy
Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-201609131041
55-z2fv49.log
~~~
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-2016-1922.html
ok, ovirt-hosted-engine-setup-1.3.7.3-1.el7ev.noarch (heads up: this is only for hosted-engine command execution, tested while deploying 2nd SHE host into "broken" setup) ~~~ ... --== SYSTEM CONFIGURATION ==-- [WARNING] A configuration file must be supplied to deploy Hosted Engine on an additional host. [ INFO ] Answer file successfully loaded [ ERROR ] The answer file on the shared storage is invalid, please check and fix it: File contains no sect ion headers. file: <???>, line: 1 u'None' [ ERROR ] Failed to execute stage 'Environment customization': The answer file on the shared storage is in valid, please check and fix it: File contains no section headers. file: <???>, line: 1 u'None' [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20160913104211.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Hosted Engine deployment failed: this system is not reliable, please check the issue, fix and re deploy Log file is located at /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-201609131041 55-z2fv49.log ~~~