Project

General

Profile

Bug #34975

ks= kernel parameter in Kickstart default iPXE causes RHEL9 Anaconda failure to start

Added by Garret Rumohr 10 months ago. Updated 12 days ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-

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

Related to Foreman - Bug #32486: Fedora 34 / RHEL 9 - Ignore Anaconda kernel boot parameters without 'inst.' prefixClosed
Related to Foreman - Bug #34265: More Anaconda kernel boot parameters without 'inst.' prefix template changesClosed
Related to Foreman - Bug #35682: PR #9238 breaks specific provision scenariosNew

Associated revisions

Revision 0c1f4041 (diff)
Added by Garret Rumohr 8 months ago

Fixes #34975 - Removed ks=. is supplied by kernel options snippet (#9238)

  • Fixes #34975 - Removed ks= from template. It is supplied by kernel options snippet.
  • Refs #34975 - Update snapshots

Co-authored-by: garret <>
Co-authored-by: Oleh Fedorenko <>

Revision 42fd5e07 (diff)
Added by Johann Grabmann 30 days ago

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

#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

#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

Also available in: Atom PDF