Bug 1341216 - satellite-installer --reset does not ask for confirmation
Summary: satellite-installer --reset does not ask for confirmation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.2.0
Hardware: x86_64
OS: All
medium
medium
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Evgeni Golov
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-31 13:17 UTC by Bruno Rocha
Modified: 2019-09-25 21:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:44:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16252 0 None None None 2016-08-23 17:25:35 UTC

Description Bruno Rocha 2016-05-31 13:17:17 UTC
Description of problem:

The command "satellite-installer --reset" just runs without asking for a confirmation.

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


Sat 6.2 snap 13

How reproducible:

always

Steps to Reproduce:
1. In satellite machine console
2. run "satellite-installer --reset"

Actual results:

System reset is performed successfully but without asking for confirmation 

Expected results:

A message:

$ satellite-installer --reset
Are you sure you want to reset your satellite system? [Y/n]

or

$ satellite-installer --reset -y
resetting..... (no confirmation needed because of -y)

Comment 2 Stephen Benjamin 2016-08-23 17:25:33 UTC
Created redmine issue http://projects.theforeman.org/issues/16252 from this bug

Comment 3 Evgeni Golov 2017-08-09 11:35:03 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 10
foreman-installer-katello-3.4.4-1.el7sat.noarch
satellite-installer-6.3.0.3-1.beta.el7sat.noarch
katello-installer-base-3.4.4-1.el7sat.noarch
foreman-installer-1.15.2-1.el7sat.noarch

# satellite-installer --reset
Are you sure you want to continue? This will drop the databases, reset all configurations that you have made and bring the server back to a fresh install. [y/n]
n
** cancelled **

Comment 4 Satellite Program 2018-02-21 16:44:36 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


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