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.

Bug 2231363

Summary: Media and Partition table fields doesn't get populated from operating-system while creating host with UI when Puppet is enabled
Product: Red Hat Satellite Reporter: Gaurav Talreja <gtalreja>
Component: Host FormAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: lstejska, rlavi
Target Milestone: 6.14.0Keywords: AutomationBlocker, Regression, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: foreman_puppet-6.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:20:20 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:
Attachments:
Description Flags
operating system tab on create host page none

Description Gaurav Talreja 2023-08-11 11:48:26 UTC
Created attachment 1983002 [details]
operating system tab on create host page

Created attachment 1983002 [details]
operating system tab on create host page

Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.14.0 Snap 11

How reproducible:
Always

Steps to Reproduce:
1. Create OS with some arch, media, and ptable values
2. Navigate to Create Host, select default LCE/CV, select arch, and select OS populate, try to select Media and Partition table
3. 

Actual results:
No options available for selected Operating System

Expected results:
Media and Partition table should get populated

Additional info:
Found this issue with QE automation, and same test passed for 6.12 and 6.13, so it appears to be a regression in 6.14, adding a keyword.

And same scenario works, when Puppet is not in use and disabled.

Attaching a screen shot of create host page, and below is details about Operating System which has arch, media, and ptable values

# hammer os show --id 4
Id:                 4
Title:              tbysFlTq 38147
Release name:
Family:
Name:               tbysFlTq
Major version:      38147
Minor version:
Partition tables:
    nLhObqTBfYjheraPq
Default templates:
    Linux host_init_config default (host_init_config)
Architectures:
    QphcXoL
Installation media:
    RaGTNmTU
Templates:
    Linux host_init_config default (host_init_config)
Parameters:

Comment 2 Leos Stejskal 2023-08-16 10:35:21 UTC
I believe this is similar to https://bugzilla.redhat.com/show_bug.cgi?id=2224498 and https://bugzilla.redhat.com/show_bug.cgi?id=2224494,
it should be fixed in the follow-up snap, with foreman_puppet-6.0.1.

Comment 4 Gaurav Talreja 2023-08-21 12:48:20 UTC
Verified.

Tested on Satellite 6.14.0 Snap 12.0 with rubygem-foreman_puppet-6.0.1-1.el8sat.noarch and used above steps from comment 0 to validate this fix.

Comment 7 errata-xmlrpc 2023-11-08 14:20:20 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.14 security and bug fix update), 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-2023:6818