Bug 1086731
| Summary: | rhsc-setup --offline --config=<Answer_File> errors out with "Failed to execute stage 'Setup validation': Cannot find Jboss at /usr/share/jboss-as" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Prasanth <pprakash> | ||||
| Component: | rhsc | Assignee: | Shubhendu Tripathi <shtripat> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Prasanth <pprakash> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 2.1 | CC: | alonbl, dpati, nlevinki, rhs-bugs, rhsc-qe-bugs, shtripat | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | rhsc-setup-3.0.0-0.4.master.el6_5.noarch | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-05-19 15:18:40 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: | |||||||
| Bug Depends On: | 1086718, 1086723 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Prasanth
2014-04-11 11:52:16 UTC
This issue should be tested in 3.0 Brew build and ensured that it's working fine. If it's not working, this has to be documented along with the workaround given in the bug. (In reply to Dusmant from comment #1) > This issue should be tested in 3.0 Brew build and ensured that it's working > fine. If it's not working, this has to be documented along with the > workaround given in the bug. This is failing even in the latest RHSC 3.0 build as well. See below: --------- [ INFO ] Stage: Setup validation [WARNING] Less than 16384MB of memory is available [ ERROR ] Failed to execute stage 'Setup validation': Cannot find Jboss at /usr/share/jboss-as [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20140515151507.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140515151532-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed --------- I think it's because of using the flag "--config" as "--config-append" doesn't fail at all. That being said, it's definitely a bug as it's looking for an invalid JBoss path. So IMO, we should fix the bug by updating the JBoss path and also document the correct usage with the right flags for offline installation. What do you think? We should fix the JBoss path for sure. dup of bug#1014372, message was fixed at[1] [1] http://gerrit.ovirt.org/#/c/23945/ Please use: # rhsc-setup --offline --config-append=/opt/20140411164232-setup.conf Shubhendu, can you also fill in the Fixed In Version? (In reply to Prasanth from comment #6) > Shubhendu, can you also fill in the Fixed In Version? there is no actual fixed version, since initial release the answer file should have been specified using --config-append and not using --config. (In reply to Alon Bar-Lev from comment #5) > Please use: > > # rhsc-setup --offline --config-append=/opt/20140411164232-setup.conf Alon, can you please specify an use case or an example in which "--config" is used? From "--help" output, it says only the following: ------------ --config=file Load configuration files. ------------ (In reply to Prasanth from comment #8) > Alon, can you please specify an use case or an example in which "--config" > is used? when support is required. Closing as discussed with NOTABUG. The option --config-append works fine as expected. |