Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
I believe this (or at least the UI part) has the same root cause as BZ #2002533. I'll go ahead, drop a comment to the other BZ that API should also be taken care of and then mark this BZ as a duplicate. If you feel the two BZs are different enough and should be treated separately, feel free to reopen.
*** This bug has been marked as a duplicate of bug 2002533 ***
Description of problem: 'Kickstart Repository' value disappears when it's inherited from parent host group. This is cosmetic/visual bug. The provisioning process finishes successfully. Version-Release number of selected component (if applicable): Satellite 6.12 How reproducible: Always Steps to Reproduce: 1. Create a parent HG. Set LFCE, CV, Content Source and choose RHEL 9.1 kickstart as Synced Content: # hammer hostgroup info --id 4 ~~~ Id: 4 Name: parent Title: parent Description: Network: Operating system: Architecture: x86_64 Operating System: RedHat 9.1 Partition Table: Kickstart default PXE Loader: PXELinux BIOS Parameters: Locations: Default Location Organizations: Default Organization OpenSCAP Proxy: Content View: Id: 3 Name: all_kickstarts Lifecycle Environment: Id: 1 Name: Library Content Source: Id: 1 Name: jsenkyri-satellite-612.sysmgmt.lan Kickstart Repository: Id: 25 ~~~ 2. Retrieve the same info right from the db: ~~~ cat << EOF | foreman-rake console conf.echo=false Hostgroup.all.sort_by(&:id).each do |hg| puts "#{hg.title} , #{hg.content_source.try(:name)} , #{hg.content_view.try(:name)} , #{hg.lifecycle_environment.try(:name)} , #{hg.os.try(:title)} , #{hg.kickstart_repository.try(:name)} , #{hg.kickstart_repository.try(:id)}" end EOF parent , jsenkyri-satellite-612.sysmgmt.lan , all_kickstarts , Library , RedHat 9.1 , Red Hat Enterprise Linux 9 for x86_64 - BaseOS Kickstart 9.1 , 25 ~~~ 3. Create child HG and let it inherit everything from parent (no overrides): # hammer hostgroup info --id 5 ~~~ Id: 5 Name: child Title: parent/child Description: Parent: parent Network: Operating system: PXE Loader: PXELinux BIOS Parameters: Locations: Default Location Organizations: Default Organization OpenSCAP Proxy: Content View: Id: Name: Lifecycle Environment: Id: Name: Content Source: Id: Name: Kickstart Repository: Id: 25 ~~~ 4. Run the foreman-rake again. All is good: ~~~ cat << EOF | foreman-rake console conf.echo=false Hostgroup.all.sort_by(&:id).each do |hg| puts "#{hg.title} , #{hg.content_source.try(:name)} , #{hg.content_view.try(:name)} , #{hg.lifecycle_environment.try(:name)} , #{hg.os.try(:title)} , #{hg.kickstart_repository.try(:name)} , #{hg.kickstart_repository.try(:id)}" end EOF parent , jsenkyri-satellite-612.sysmgmt.lan , all_kickstarts , Library , RedHat 9.1 , Red Hat Enterprise Linux 9 for x86_64 - BaseOS Kickstart 9.1 , 25 parent/child , jsenkyri-satellite-612.sysmgmt.lan , all_kickstarts , Library , RedHat 9.1 , Red Hat Enterprise Linux 9 for x86_64 - BaseOS Kickstart 9.1 , 25 ~~~ 5. Modify the child HG. Change Synced Content to 'Inherit from Parent (25)' and click save. 6. Check child HG details in WebUI. Synced Content is pre-selected to 'Red_Hat_Enterprise_Linux_9_for_x86_64_-_BaseOS_Kickstart_9_1' but if you bring up the drop down menu you can also see 'Inherit from Parent (no value)'. See screenshot [child_synced_content.png]. 7. hammer shows empty 'Kickstart Repository' for the child HG: # hammer hostgroup info --id 5 ~~~ Id: 5 Name: child Title: parent/child Description: Parent: parent Network: Operating system: PXE Loader: PXELinux BIOS Parameters: Locations: Default Location Organizations: Default Organization OpenSCAP Proxy: Content View: Id: Name: Lifecycle Environment: Id: Name: Content Source: Id: Name: Kickstart Repository: Id: ~~~ 8. foreman-rake shows the same thing: ~~~ cat << EOF | foreman-rake console conf.echo=false Hostgroup.all.sort_by(&:id).each do |hg| puts "#{hg.title} , #{hg.content_source.try(:name)} , #{hg.content_view.try(:name)} , #{hg.lifecycle_environment.try(:name)} , #{hg.os.try(:title)} , #{hg.kickstart_repository.try(:name)} , #{hg.kickstart_repository.try(:id)}" end EOF parent , jsenkyri-satellite-612.sysmgmt.lan , all_kickstarts , Library , RedHat 9.1 , Red Hat Enterprise Linux 9 for x86_64 - BaseOS Kickstart 9.1 , 25 parent/child , jsenkyri-satellite-612.sysmgmt.lan , all_kickstarts , Library , RedHat 9.1 , , ~~~ Expected results: - `hammer hostgroup info` should show inherited Kickstart Repository id - WebUI should *not* show 'Inherit from Parent (no value)'