Project

General

Profile

Actions

Bug #33385

closed

Bad inheritance of Architecture property is causing Grayed out media selections for child hostgroup

Added by Partha Aji over 2 years ago. Updated over 2 years ago.

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

Description

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.

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:

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.
Actions #1

Updated by Partha Aji over 2 years ago

  • Bugzilla link set to 1996371
Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/9599 added
Actions #3

Updated by Justin Sherrill over 2 years ago

  • Target version set to Katello 4.2.0
  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #5

Updated by Partha Aji over 2 years ago

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

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/9656 added
Actions

Also available in: Atom PDF