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.

Bug 1656043

Summary: Provide a branded satellite-maintain script
Product: Red Hat Satellite Reporter: Brad Buckingham <bbuckingham>
Component: Satellite MaintainAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: apatel, bbuckingham, bkearney, egolov, ehelms, inecas, jomitsch, kgaikwad, mbacovsk, mmccune, nkathole, swadeley
Target Milestone: 6.5.0Keywords: Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-6.5.0-8.beta Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1487403 Environment:
Last Closed: 2019-05-14 12:39:22 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: 1487403    
Bug Blocks: 1496794    

Comment 5 Nikhil Kathole 2019-03-18 15:32:41 UTC
VERIFIED

Version tested:
Satellite 6.5 snap 20

# rpm -qa | grep maintain
rubygem-foreman_maintain-0.3.2-1.el7sat.noarch
satellite-maintain-0.0.1-1.el7sat.noarch


[root@qe-sat6-client-arch ~]# which satellite-maintain
/usr/bin/satellite-maintain
[root@qe-sat6-client-arch ~]# ll /usr/bin/satellite-maintain
lrwxrwxrwx. 1 root root 25 Mar 15 12:38 /usr/bin/satellite-maintain -> /usr/bin/foreman-maintain
[root@qe-sat6-client-arch ~]# satellite-maintain -h
Usage:
    satellite-maintain [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
    SUBCOMMAND                    subcommand
    [ARG] ...                     subcommand arguments

Subcommands:
    health                        Health related commands
    upgrade                       Upgrade related commands
    service                       Control applicable services
    backup                        Backup server
    restore                       Restore a backup
    advanced                      Advanced tools for server maintenance

Options:
    -h, --help                    print help

There is one issue identified regarding auto-completion for satellite-maintain command does not work. We are tracking it here https://bugzilla.redhat.com/show_bug.cgi?id=1689910

Comment 8 errata-xmlrpc 2019-05-14 12:39:22 UTC
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.

https://access.redhat.com/errata/RHSA-2019:1222