mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-04 20:17:55 +00:00
fix(xCAT-server): stop the EL10 installer reserving a crash kernel riscv64 cannot use
EL10 defines no default crash kernel reservation for riscv64, so the installer's kdump add-on falls back to writing the literal "crashkernel=auto" into the boot loader arguments of the installed system. EL10 kernels dropped support for that value: nothing is reserved, but the string is on the command line, so kdump.service passes its condition and then fails on every installed riscv64 node. Turn the add-on off in the riscv64 templates. Nodes come up with kdump inactive instead of failed, and a node that should take crash dumps gets a real reservation the usual way, through linuximage.addkcmdline or bootparams.addkcmdline.
This commit is contained in:
@@ -31,6 +31,15 @@ firewall --disable
|
||||
selinux --disable
|
||||
reboot
|
||||
|
||||
# riscv64: EL10 has no default crash kernel reservation for this architecture
|
||||
# (kdumpctl get-default-crashkernel is empty), so the installer's kdump add-on
|
||||
# would write the literal "crashkernel=auto", which the kernel ignores: nothing
|
||||
# is reserved and kdump.service fails on every node. Leave kdump off here; a
|
||||
# node that should take crash dumps gets a real reservation through
|
||||
# linuximage.addkcmdline or bootparams.addkcmdline (crashkernel=<size>).
|
||||
%addon com_redhat_kdump --disable
|
||||
%end
|
||||
|
||||
# riscv64: the EL10 anaconda has no RISC-V EFI platform and always asks for the
|
||||
# x86 UEFI boot loader packages (grub2-efi-x64, shim-x64), which do not exist
|
||||
# for riscv64; tolerate that. The riscv64 package list pulls grub2-efi-riscv64
|
||||
|
||||
@@ -31,6 +31,15 @@ firewall --disable
|
||||
selinux --disable
|
||||
reboot
|
||||
|
||||
# riscv64: EL10 has no default crash kernel reservation for this architecture
|
||||
# (kdumpctl get-default-crashkernel is empty), so the installer's kdump add-on
|
||||
# would write the literal "crashkernel=auto", which the kernel ignores: nothing
|
||||
# is reserved and kdump.service fails on every node. Leave kdump off here; a
|
||||
# node that should take crash dumps gets a real reservation through
|
||||
# linuximage.addkcmdline or bootparams.addkcmdline (crashkernel=<size>).
|
||||
%addon com_redhat_kdump --disable
|
||||
%end
|
||||
|
||||
# riscv64: the EL10 anaconda has no RISC-V EFI platform and always asks for the
|
||||
# x86 UEFI boot loader packages (grub2-efi-x64, shim-x64), which do not exist
|
||||
# for riscv64; tolerate that. The riscv64 package list pulls grub2-efi-riscv64
|
||||
|
||||
@@ -31,6 +31,15 @@ firewall --disable
|
||||
selinux --disable
|
||||
reboot
|
||||
|
||||
# riscv64: EL10 has no default crash kernel reservation for this architecture
|
||||
# (kdumpctl get-default-crashkernel is empty), so the installer's kdump add-on
|
||||
# would write the literal "crashkernel=auto", which the kernel ignores: nothing
|
||||
# is reserved and kdump.service fails on every node. Leave kdump off here; a
|
||||
# node that should take crash dumps gets a real reservation through
|
||||
# linuximage.addkcmdline or bootparams.addkcmdline (crashkernel=<size>).
|
||||
%addon com_redhat_kdump --disable
|
||||
%end
|
||||
|
||||
# riscv64: the EL10 anaconda has no RISC-V EFI platform and always asks for the
|
||||
# x86 UEFI boot loader packages (grub2-efi-x64, shim-x64), which do not exist
|
||||
# for riscv64; tolerate that. The riscv64 package list pulls grub2-efi-riscv64
|
||||
|
||||
@@ -31,6 +31,15 @@ firewall --disable
|
||||
selinux --disable
|
||||
reboot
|
||||
|
||||
# riscv64: EL10 has no default crash kernel reservation for this architecture
|
||||
# (kdumpctl get-default-crashkernel is empty), so the installer's kdump add-on
|
||||
# would write the literal "crashkernel=auto", which the kernel ignores: nothing
|
||||
# is reserved and kdump.service fails on every node. Leave kdump off here; a
|
||||
# node that should take crash dumps gets a real reservation through
|
||||
# linuximage.addkcmdline or bootparams.addkcmdline (crashkernel=<size>).
|
||||
%addon com_redhat_kdump --disable
|
||||
%end
|
||||
|
||||
# riscv64: the EL10 anaconda has no RISC-V EFI platform and always asks for the
|
||||
# x86 UEFI boot loader packages (grub2-efi-x64, shim-x64), which do not exist
|
||||
# for riscv64; tolerate that. The riscv64 package list pulls grub2-efi-riscv64
|
||||
|
||||
Reference in New Issue
Block a user