Project

General

Profile

Actions

Bug #28685

closed

foreman-maintain on Capsule should not show upgrade option

Added by Kavita Gaikwad over 4 years ago. Updated 2 months ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1730703

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:

Actions #1

Updated by Kavita Gaikwad about 4 years ago

  • Assignee changed from Anurag Patel to Amit Upadhye
Actions #2

Updated by Eric Helms 2 months ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF