Project

General

Profile

Actions

Feature #29818

closed

satellite-maintain upgrade check should not store incorrect password

Added by Suraj Patil almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:

If the customer is prompted to enter a hammer password when running this command:

  1. satellite-maintain upgrade check --target-version 6.7

and if the wrong password is entered, the password field in "/etc/foreman-maintain/foreman-maintain-hammer.yml" changes to the incorrect password.

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

6.7

How reproducible:

Only when the upgrade check prompts for a hammer password.

Steps to Reproduce:
1. cat /etc/foreman-maintain/foreman-maintain-hammer.yml to see the current password.
2. Run "satellite-maintain upgrade check --target-version 6.7".
3. If prompted for a hammer password, enter a different, incorrect password.
4. cat /etc/foreman-maintain/foreman-maintain-hammer.yml to see the incorrect password there.

Actual results:

System configuration is permanently changed by an upgrade check.

Expected results:

The system configuration should not be changed by a check.

Additional info:

Actions #1

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/345 added
Actions #2

Updated by Anonymous over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF