Bug 1089067
Summary: | Invalid target of --generate-answer option causes error indicating the entire installation has failed | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Wesley Duffee-Braun <wduffee> |
Component: | rhsc | Assignee: | Shubhendu Tripathi <shtripat> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 2.1 | CC: | alonbl, dpati, nlevinki, nsathyan, psriniva, rhs-bugs, rhsc-qe-bugs, shtripat |
Target Milestone: | --- | ||
Target Release: | RHGS 3.0.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhsc-3.0.0-0.5.master.el6_5.noarch.rpm | Doc Type: | Bug Fix |
Doc Text: |
Previously, there was no error handling capability for the command: "rhsc-setup --generate-answer=<answer-file>". If an invalid answer file was provided, the Red Hat Storage Console setup script would fail with an error. With this release, the error is handled while writing the answer file. If an invalid path is provided, the setup reports the error as a warning and continues to function as expected.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-22 19:08:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Wesley Duffee-Braun
2014-04-17 19:44:28 UTC
Installation framework has changed from RHSC Corbett (2.1 U2) to RHSC Denali (3.0), because of underlying ovirt install framework change. This case will be tested by Prasanth and he will let us know, if this issue is resolved in RHSC 3.0 or not and if not, then we need to document it along with the required work around. Need help from Alon to understand, if there is a mechanism to raise a warning only if a certain stage fails during engine setup and not to fail to overall setup process. (In reply to Shubhendu Tripathi from comment #3) > Need help from Alon to understand, if there is a mechanism to raise a > warning only if a certain stage fails during engine setup and not to fail to > overall setup process. self.logger.warning() ? Verified as fixed in rhsc-3.0.0-0.5.master.el6_5.noarch.rpm ---------------------- # rhsc-setup --generate-answer=root/rhsc-answer-file-2.1u2 ... --== END OF SUMMARY ==-- [ INFO ] Starting engine service [ INFO ] Restarting httpd Make sure the managed nodes get migrated to RHS-3.0 to get monitoring enabled for them. [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140523164316.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140523164900-setup.conf' [ INFO ] Generating answer file 'root/rhsc-answer-file-2.1u2' [WARNING] Cannot write to answer file: root/rhsc-answer-file-2.1u2 Error: [Errno 2] No such file or directory: '/etc/yum.repos.d/root/rhsc-answer-file-2.1u2' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ INFO ] Execution of setup completed successfully ---------------------- Shubhendu, Please review the edited doc text for technical accuracy and sign off. doc-text looks fine 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. http://rhn.redhat.com/errata/RHEA-2014-1277.html |