Bug #34975
ks= kernel parameter in Kickstart default iPXE causes RHEL9 Anaconda failure to start
Description
Related to deprecated ks kernel boot parameters here - https://projects.theforeman.org/issues/32486
ks= parameter supplied by "Kickstart default iPXE" template is rendered, causing RHEL9 to fail to start installation even though inst.ks url should be supplied by the kickstart_kernel_options snippet.
kickstart_default_ipxe.erb = https://github.com/theforeman/foreman/blob/develop/app/views/unattended/provisioning_templates/iPXE/kickstart_default_ipxe.erb
kickstart_kernel_options.erb = https://github.com/theforeman/foreman/blob/develop/app/views/unattended/provisioning_templates/snippet/kickstart_kernel_options.erb
Proposal for resolution - remove "ks=<%= ks %>" from kickstart_default_ipxe.erb line 43. "ks=" or "inst.ks=" should then be supplied by kickstart_kernel_options.erb
Related issues
Associated revisions
Refs #34975 - fix kickstart_kernel_options.erb escaping
fix for PR #9308 - for explanation see https://community.theforeman.org/t/foreman-uefi-provisioning-grub-failure/30577/5
History
#1
Updated by Garret Rumohr 10 months ago
- Related to Bug #32486: Fedora 34 / RHEL 9 - Ignore Anaconda kernel boot parameters without 'inst.' prefix added
#2
Updated by Garret Rumohr 10 months ago
- Related to Bug #34265: More Anaconda kernel boot parameters without 'inst.' prefix template changes added
#3
Updated by Garret Rumohr 10 months ago
If relevant, this was encountered on Satellite 6.10.5.1. Not Foreman proper.
#4
Updated by Garret Rumohr 10 months ago
- Pull request https://github.com/theforeman/foreman/pull/9238 added
PR submitted.
https://github.com/theforeman/foreman/pull/9238
#5
Updated by The Foreman Bot 10 months ago
- Status changed from New to Ready For Testing
#6
Updated by The Foreman Bot 8 months ago
- Fixed in Releases 3.4.0 added
#7
Updated by Garret Rumohr 8 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|0c1f404149973899fd458bd47d14f8db2101918c.
#8
Updated by The Foreman Bot 8 months ago
- Assignee set to Oleh Fedorenko
- Pull request https://github.com/theforeman/foreman/pull/9308 added
#9
Updated by The Foreman Bot 8 months ago
- Fixed in Releases 3.3.1 added
#10
Updated by The Foreman Bot 5 months ago
- Pull request https://github.com/theforeman/foreman/pull/9477 added
#11
Updated by Ewoud Kohl van Wijngaarden 3 months ago
- Related to Bug #35682: PR #9238 breaks specific provision scenarios added
#12
Updated by The Foreman Bot 30 days ago
- Pull request https://github.com/theforeman/foreman/pull/9631 added
#13
Updated by Eric Helms 12 days ago
- Fixed in Releases 3.5.2 added
Fixes #34975 - Removed ks=. is supplied by kernel options snippet (#9238)
Co-authored-by: garret <garret@foreman8.rumohr.me>
Co-authored-by: Oleh Fedorenko <ofedoren@redhat.com>