Kernel args are not updating for uefi system

Solution Verified - Updated -

Issue

  • Kernel args are not updating for uefi system

In /etc/default/grub, kernel args are present

$ cat /etc/default/grub 
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR="$(sed 's, release .$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="console=ttyS0 console=ttyS0,115200n81 no_timer_check  crashkernel=auto rhgb quiet" 
TRIPLEO_HEAT_TEMPLATE_KERNEL_ARGS=" default_hugepagesz=1GB hugepagesz=1G hugepages=338 iommu=pt intel_iommu=on isolcpus=2-55,58-111 "  <<<
GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX:+$GRUB_CMDLINE_LINUX }${TRIPLEO_HEAT_TEMPLATE_KERNEL_ARGS}"                                   <<<
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

In /proc/cmdline and /boot/efi/EFI/redhat/grubenv we dont find the custom kernel args added above

# cat /proc/cmdline 
BOOT_IMAGE=(hd0,gpt3)/boot/vmlinuz-4.18.0-193.51.1.el8_2.x86_64 root=UUID=670cf845-41e8-475a-af33-ec2750510daf ro console=ttyS0 console=ttyS0,115200n81 no_timer_check crashkernel=auto rhgb quiet skew_tick=1 nohz=on nohz_full=8-19,28-39,48-59,68-79 rcu_nocbs=8-19,28-39,48-59,68-79 tuned.non_isolcpus=0000000f,f000ff00,0ff000ff intel_pstate=disable nosoftlockup
# cat /boot/efi/EFI/redhat/grubenv 
# GRUB Environment Block
kernelopts=root=UUID=670cf845-41e8-475a-af33-ec2750510daf ro console=ttyS0 console=ttyS0,115200n81 no_timer_check  crashkernel=auto rhgb quiet 
boot_success=0
########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

Environment

  • Red Hat OpenStack Platform 16.1.6 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content