Bug 1073096
| Summary: | 'rhqctl -h install' tries to install the components instead of showing a help | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Jirka Kremser <jkremser> |
| Component: | Installer, Usability | Assignee: | Jirka Kremser <jkremser> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.9 | CC: | hrupp |
| Target Milestone: | --- | ||
| Target Release: | RHQ 4.11 | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-21 10:13:47 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
Jirka Kremser
2014-03-05 18:36:11 UTC
rhqctl -h says:
usage: rhqctl <cmd> [options]
where <cmd> is one of:
console <[options]> Starts an RHQ service in the foreground. Only
--server or --storage is supported. To start the
agent in the foreground, use the
<RHQ_AGENT_HOME>/bin/rhq-agent.(sh|bat) script.
install <[options]> Installs RHQ services.
restart <[options]> Restarts RHQ services.
start <[options]> Starts RHQ services.
status <[options]> Check status of RHQ services
stop <[options]> Stops RHQ services
upgrade <[options]> Upgrades RHQ services from an earlier installed
version
* For help on a specific command: rhqctl <cmd> --help
* Limit commands to a single component with one of: --storage, --server,
--agent
Same issue for 'rhqctl -h upgrade'. Instead of showing help, it tries to upgrade the system. Actually the help is printed eventually, I just wasn't patient enough. The issue was that I had installed agent by rpm in the past so there was a warning displayed and 30s sleeping interval for a user to have a chance to read the message (I had no idea about that). So the help was printed after those 30 seconds of waiting. I would like to add a check if user wants to print only help, the warning about rpm agent will not displayed. bb6f4c87b 705dca8bf 589b486d6 491fb0481 5367acfe1 9458df431 9bd875794 Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out. If you find an issue with those, please open a new BZ, linking to the old one. |