Bug 2056696

Summary: Hostgroup configurations not populating on discovered hosts > provision > customize host > edit screen
Product: Red Hat Satellite Reporter: Taft Sanders <tasander>
Component: Host GroupAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.2CC: inecas, kgaikwad, lzap, mhulan, pdudley, rabajaj, sadas
Target Milestone: UnspecifiedKeywords: Regression, Triaged, UserExperience
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-28 20:51:13 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 Taft Sanders 2022-02-21 21:51:09 UTC
Description of problem:
Host group information does not populate on the edit screen of a discovered host when clicking the customize host button.
The Organization, Location, and Host group are all populated on the edit screen.

The Lifecycle Environment, Content View, partition table and more are empty.

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

How reproducible:
Every time

Steps to Reproduce:
1. Discover a host
2. From the discovered host screen, click "Provision" to the right of the discovered host.
3. Select the Host group, Organization, and Location in the popup, then click "Customize Host"

Actual results:
Edit page for the host renders with all information from the host group not populated.

Expected results:
All fields are populated with selected host group information.

Additional info:
WORKAROUND:
- Clear the host group field on the edit page
- Select the same host group from the host group dropdown list
Information will populate in the fields based on the host group configuration.

Comment 2 Griffin Sullivan 2022-02-25 16:57:11 UTC
From my testing it seems like this might be related https://bugzilla.redhat.com/show_bug.cgi?id=1955046. I've also noticed that host group clones aren't actually copying over all of the information. I'm not entirely sure this is a Discovery Image issue, but more of a Host Group / Provisioning issue.

Comment 4 Paul Dudley 2022-03-07 21:42:11 UTC
(In reply to Griffin Sullivan from comment #2)
> From my testing it seems like this might be related
> https://bugzilla.redhat.com/show_bug.cgi?id=1955046. I've also noticed that
> host group clones aren't actually copying over all of the information. I'm
> not entirely sure this is a Discovery Image issue, but more of a Host Group
> / Provisioning issue.

In our testing for the customer we found the issue was related to provisioning (host creation) in general, and not specific to discovered hosts or the discovery plugin, so I believe this is right and they could be related. The customer here confirms the same issues with synced media dissociating, but also sees base attributes like LCE and CV failing to stay auto-populated

Comment 5 Lukas Zapletal 2022-03-08 08:42:25 UTC
Thanks for getting back to us, resetting the component.

Comment 6 Paul Dudley 2023-07-28 20:51:13 UTC
Closing as dupe of 2069324 after discussing with Taft that they are likely the same issue

*** This bug has been marked as a duplicate of bug 2069324 ***