Bug 1982745

Summary: Reprovisioning a host using new HostGroup does not inherit root password from the new HostGroup
Product: Red Hat Satellite Reporter: Satyajit Das <sadas>
Component: Host GroupAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Omkar Khatavkar <okhatavk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: inecas, kgaikwad, oezr
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:32:43 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:
Embargoed:

Description Satyajit Das 2021-07-15 15:25:38 UTC
Description of problem:

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


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

6.7,6.8,6.9


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).

Comment 3 Dominik Matoulek 2021-10-29 19:16:45 UTC
Created redmine issue https://projects.theforeman.org/issues/33811 from this bug

Comment 4 Bryan Kearney 2021-11-04 13:50:54 UTC
Upstream bug assigned to dmatoule

Comment 5 Bryan Kearney 2021-11-04 13:50:56 UTC
Upstream bug assigned to dmatoule

Comment 6 Bryan Kearney 2021-11-25 08:04:43 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33811 has been resolved.

Comment 10 Omkar Khatavkar 2022-07-20 05:55:58 UTC
verified on satellite 6.12 snap 2. working as expected.

Comment 14 errata-xmlrpc 2022-11-16 13:32:43 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 (Important: Satellite 6.12 Release), 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-2022:8506