Bug 2041457

Summary: Change ks= to inst.ks= and sendmac for RHEL 9 Beta
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: Provisioning TemplatesAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Akhil Jha <akjha>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: ajambhul, akjha, gtalreja, mhulan, pcreech
Target Milestone: 6.11.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_discovery-19.0.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:32:03 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:

Description Lukas Zapletal 2022-01-17 11:43:31 UTC
RHEL 9 Beta currently cannot be installed with default templates due to deprecation of ks= argument. It must be prefixed with inst.ks= and Anaconda in RHEL9 Beta will fail, thus provisioning is not possible.

I propose to backport it into 6.10 so customers can try out RHEL 9 Beta without any extra effort.

Instead of backporting both patches which aim to change all places (iPXE, PXEGrub etc) I propose just to do a small change of changing ks to inst.ks for supported workflows (PXELinux, Grub2). I can do a small MR on request.

Small effort, low risk.

Comment 1 Lukas Zapletal 2022-01-17 11:49:51 UTC
Also this package must be removed from the kickstart: redhat-lsb-core.

Comment 2 Bryan Kearney 2022-01-17 12:05:33 UTC
Upstream bug assigned to lzap

Comment 3 Bryan Kearney 2022-01-17 12:05:34 UTC
Upstream bug assigned to lzap

Comment 4 Lukas Zapletal 2022-01-17 13:41:09 UTC
Also discovery has the same problem, so in total 4 patches.

Comment 5 Bryan Kearney 2022-01-19 16:05:26 UTC
Upstream bug assigned to mhulan

Comment 6 Bryan Kearney 2022-01-19 16:05:27 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31978 has been resolved.

Comment 7 Lukas Zapletal 2022-01-20 07:35:01 UTC
To summary:

Three core template patches.
One discovery template patch (update to 20.0.1).

https://github.com/theforeman/foreman-packaging/pull/7494

Comment 8 Lukas Zapletal 2022-01-27 14:23:07 UTC
*** Bug 2036008 has been marked as a duplicate of this bug. ***

Comment 11 Akhil Jha 2022-04-08 10:25:41 UTC
Verified.
Satellite 6.11.0-15.0

# rpm -qa | grep rubygem-foreman_discovery
tfm-rubygem-foreman_discovery-19.0.2-1.el7sat.noarch

Notes: Able to provision rhel9 hosts

Comment 14 errata-xmlrpc 2022-07-05 14:32:03 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.11 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-2022:5498