Bug 1368399

Summary: [downstream clone - 3.6.9] --upgrade-appliance - Failed to execute stage 'Environment customization': File contains no section headers. file: <???>, line: 1 u'None'
Product: Red Hat Enterprise Virtualization Manager Reporter: Simone Tiraboschi <stirabos>
Component: ovirt-hosted-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.6.8CC: bgraveno, bugs, didi, jbelka, lsurette, mkalinin, mwest, pstehlik, sbonazzo, stirabos, ykaul, ylavi
Target Milestone: ovirt-3.6.9Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: 1366879 Environment:
Last Closed: 2016-09-21 17:55:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1366879, 1367732    
Bug Blocks: 1320571    

Comment 2 Jiri Belka 2016-09-13 10:44:20 UTC
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
~~~

Comment 4 errata-xmlrpc 2016-09-21 17:55:46 UTC
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