Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1996371 - Bad inheritance of Architecture property is causing Grayed out media selections for child hostgroup in Satellite 6.10
Summary: Bad inheritance of Architecture property is causing Grayed out media selectio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.10.0
Hardware: All
OS: All
high
high
Target Milestone: 6.10.0
Assignee: Partha Aji
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-22 10:30 UTC by Sayan Das
Modified: 2021-12-13 09:34 UTC (History)
6 users (show)

Fixed In Version: tfm-rubygem-katello-4.1.1.17-1,tfm-rubygem-katello-4.1.1.29-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:13:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33385 0 None None None 2021-08-31 19:16:11 UTC
Foreman Issue Tracker 33581 0 Normal Ready For Testing Edit hosts page not reflecting correct selections. 2021-09-29 15:22:06 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:13:35 UTC

Description Sayan Das 2021-08-22 10:30:39 UTC
Description of problem:

The value selected in "Architecture" is not properly inherited by Child Hostgroup and results in grayed-out values for Media even if the correct OS\CV\LCE\Content_Source is selected.

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

How reproducible:
Always


Steps to Reproduce:
1. Sync RHEL 7.9 kickstart and RHEL 6.10 kickstart 
2. Create Host Group Called "Content" and set LCE\CV\Content Source on the same. In the operating system tab, Only select x86_64 architecture. 
3. Create another Host group called "RHEL" and then select "Content" as it's parent.
4. Go to Operating Systems tab and see the value for "Architecture" selected.
5. Select "RedHat 7.9" as the "Operating system" and observer the "Media Selection" and "Media" options\fields


Actual results:

Step 4 will show "Inherited Parent (x86_64)" for Architecture field.

Step 5 will result is Grayed out fields for "Media Selection" and "Media"


Now, if we click on "Architecture" field and then select "x86_64" manually and then re-select the OS as "RedHat 7.9", the "Synced Media" gets selected and "Media" field gets filled with kickstart repo info.


Expected results:

Satellite should be able to inherit the Architecture and use it inside a Nested Hostgroup while OS is being selected on the child group.


Additional info:

* This issue is not only noticed when we select "Architecture" on the parent group and the OS in the child group.

* If I select both Architecture and OS in the parent group, then

     * Inheritance of those properties will look fine in Child Group "RHEL" including "Synced Media" and "Media" Selections and I can safely submit the Child Group settings as well.

     * But as soon as I edit it back and try to change the OS to something else i.e. "RedHat 6.10" in the child group, It will result in Grayed out fields for "Media Selection" and "Media" again unless I select "x86_64" manually in the child group as the Arch.

Comment 2 Brad Buckingham 2021-08-23 13:46:48 UTC
Is this a regression from Satellite 6.9?

Comment 3 Sayan Das 2021-08-23 14:11:11 UTC
I thought I have never seen this behavior in Satellite 6.9 but I just now checked and the same issue is surprisingly present on 6.9 as well.

Comment 6 Partha Aji 2021-08-31 19:16:10 UTC
Connecting redmine issue https://projects.theforeman.org/issues/33385 from this bug

Comment 10 Partha Aji 2021-09-29 15:22:05 UTC
Connecting redmine issue https://projects.theforeman.org/issues/33581 from this bug

Comment 11 Brad Buckingham 2021-09-29 19:38:55 UTC
Moving to POST as the PR for the issue in comment 10 is now merged upstream.

Comment 21 errata-xmlrpc 2021-11-16 14:13:28 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 (Moderate: Satellite 6.10 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-2021:4702


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