Bug 1315545

Summary: 'katello-remove --help' does not provide help, but starts remove process
Product: Red Hat Satellite Reporter: David O'Brien <daobrien>
Component: InstallerAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: Bruno Rocha <rochacbruno>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, bkearney, rochacbruno, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/15051
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:49:54 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:

Description David O'Brien 2016-03-08 01:47:34 UTC
Description of problem:

If you run 'katello-remove --help' rather than getting help on what to expect, the command displays "this will remove everything... there is no going back" etc. There is an "escape clause" because it asks for confirmation twice, but it's disconcerting.

Version-Release number of selected component (if applicable):

katello-installer-base-3.0.0.1-1.el7sat.noarch

How reproducible:

Always

Steps to Reproduce:
1. 'katello-remove --help'
2.
3.

Actual results:

See Description.

Expected results:

Should see help info about how to use the command, ramifications, etc., and not just start to run it.


Additional info:

Comment 2 Chris Roberts 2016-05-14 02:15:03 UTC
redmine issue created

http://projects.theforeman.org/issues/15051

Comment 3 Chris Roberts 2016-05-14 02:42:16 UTC
PR

https://github.com/Katello/katello-packaging/pull/221

Comment 4 Bryan Kearney 2016-05-16 14:10:49 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15051 has been closed

Comment 5 Bryan Kearney 2016-05-16 14:24:30 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15051 has been closed

Comment 7 Bruno Rocha 2016-11-17 18:01:54 UTC
VErified in:

satellite-6.3.0-6.1.beta.el7sat.noarch - RHEL7
katello-3.2.0-3.rc3.el7.noarch
foreman-1.13.1-1.el7.noarch

Conclusion:

[root@ibm-x3550m3-09 ~]# katello-remove --help
This script is used to remove all katello related packages and services. 
This should only be used if you are sure you are wanting to completly remove Katello from this machine and lose all of your settings and synced content.

Comment 8 Satellite Program 2018-02-21 16:49:54 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-2018:0336