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.
Bug 1730703 - foreman-maintain on Capsule should not show upgrade option
Summary: foreman-maintain on Capsule should not show upgrade option
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Unspecified
Assignee: Amit Upadhye
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-17 11:59 UTC by Stephen Wadeley
Modified: 2023-09-14 05:31 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-29 21:42:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28685 0 High New foreman-maintain on Capsule should not show upgrade option 2020-10-29 21:22:17 UTC

Description Stephen 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:

Comment 4 Kavita 2020-01-08 12:26:43 UTC
Created redmine issue https://projects.theforeman.org/issues/28685 from this bug

Comment 7 Mike McCune 2020-10-29 21:42:18 UTC
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.

Comment 8 Red Hat Bugzilla 2023-09-14 05:31:58 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.