Project

General

Profile

Actions

Bug #33811

closed

Reprovisioning a host using new HostGroup does not inherit root password from the new HostGroup

Added by Dominik Matoulek about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:

Rebuilding/reprovisioning a host using a new HostGroup does not inherit all the values from the new HostGroup

How reproducible:

100%

Steps to Reproduce:
1. Provision a new host using a HostGroup(i.e ABC).
2. update the same host with a new HostGroup (i.e XYZ).
3. Then rebuild the same host

Actual results:

Root password set for the reprovisioned host is from the first HostGroup(i.e ABC)

Expected results:

As the Host is updated with the new HostGroup (i.e XYZ). so all the parameters should be inherited from the new HostGroup (i.e XYZ)

Additional info:

I just notied the password field, there could be more values that are getting inherited from the first HostGroup(i.e ABC).


Related issues 3 (0 open3 closed)

Related to Foreman - Bug #33732: The default password in settings is not encodedClosedBernhard SuttnerActions
Related to Foreman - Refactor #34289: Remove workaround for root_password encodingClosedOndřej EzrActions
Related to Foreman - Bug #37610: HostCommon.crypt_passwords reencrypts Base64 based passwords for Grub, leading to errorsClosedEvgeni GolovActions
Actions #1

Updated by Dominik Matoulek about 3 years ago

  • Subject changed from Reprovisioning a host using new HostGroup does not inherit root password from the new HostGroup to Reprovisioning a host using new HostGroup does not inherit root password from the new HostGroup
  • Assignee set to Dominik Matoulek
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8887 added
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases 3.2.0 added
Actions #4

Updated by Anonymous about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Ondřej Ezr almost 3 years ago

  • Related to Bug #33732: The default password in settings is not encoded added
Actions #6

Updated by Ondřej Ezr almost 3 years ago

  • Related to Refactor #34289: Remove workaround for root_password encoding added
Actions #7

Updated by Evgeni Golov 5 months ago

  • Related to Bug #37610: HostCommon.crypt_passwords reencrypts Base64 based passwords for Grub, leading to errors added
Actions

Also available in: Atom PDF