Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionStephen Wadeley
2019-07-17 11:59:28 UTC
Description of problem:
The help output should *not* offer upgrade option when run on Capsule as that is confusing.
~]# foreman-maintain -h
Usage:
foreman-maintain [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments
Subcommands:
health Health related commands
upgrade Upgrade related commands <-- Misleading
<snip>
Version-Release number of selected component (if applicable):
[root@qe-capsule-feature-rhel7 ~]# rpm -q satellite-capsule
satellite-capsule-6.6.0-5.beta.el7sat.noarch
[root@qe-capsule-feature-rhel7 ~]# rpm -q rubygem-foreman_maintain
rubygem-foreman_maintain-0.4.4-1.el7sat.noarch
How reproducible:
Steps to Reproduce:
1. foreman-maintain -h
Subcommands:
health Health related commands
upgrade Upgrade related commands
service Control applicable services
backup Backup server
restore Restore a backup
packages Lock/Unlock installed packages
advanced Advanced tools for server maintenance
maintenance-mode Control maintenance-mode for application
Actual results:
Subcommands:
health Health related commands
upgrade Upgrade related commands
Expected results:
Subcommands:
health Health related commands
<the next line after upgrade>
Additional info:
With Capsule upgrade support in 6.8 we are offering the upgrade command to get to 6.8, eg:
# satellite-maintain upgrade list-versions
Checking for new version of satellite-maintain...
Nothing to update, can't find new version of satellite-maintain.
6.8
# rpm -q satellite-capsule
satellite-capsule-6.7.5-1.el7sat.noarch
this is the desired result with the latest version and no plans to hide on older versions.
Description of problem: The help output should *not* offer upgrade option when run on Capsule as that is confusing. ~]# foreman-maintain -h Usage: foreman-maintain [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: health Health related commands upgrade Upgrade related commands <-- Misleading <snip> Version-Release number of selected component (if applicable): [root@qe-capsule-feature-rhel7 ~]# rpm -q satellite-capsule satellite-capsule-6.6.0-5.beta.el7sat.noarch [root@qe-capsule-feature-rhel7 ~]# rpm -q rubygem-foreman_maintain rubygem-foreman_maintain-0.4.4-1.el7sat.noarch How reproducible: Steps to Reproduce: 1. foreman-maintain -h Subcommands: health Health related commands upgrade Upgrade related commands service Control applicable services backup Backup server restore Restore a backup packages Lock/Unlock installed packages advanced Advanced tools for server maintenance maintenance-mode Control maintenance-mode for application Actual results: Subcommands: health Health related commands upgrade Upgrade related commands Expected results: Subcommands: health Health related commands <the next line after upgrade> Additional info: