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: ON_QA --- 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: 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.