Bug 2102627 - Kernel args not propagating following reboot
Summary: Kernel args not propagating following reboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 17.0
Assignee: Harald Jensås
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-30 11:46 UTC by Jason Paroly
Modified: 2022-09-21 12:23 UTC (History)
3 users (show)

Fixed In Version: tripleo-ansible-3.3.1-0.20220720020859.fa5422f.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:23:13 UTC
Target Upstream Version:
Embargoed:
jparoly: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 848306 0 None ABANDONED Use grubby to manage kernel_args 2022-09-21 13:21:25 UTC
Red Hat Issue Tracker NFV-2541 0 None None None 2022-06-30 11:59:24 UTC
Red Hat Issue Tracker OSP-16171 0 None None None 2022-06-30 11:49:57 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:23:29 UTC

Description Jason Paroly 2022-06-30 11:46:19 UTC
Description of problem:

Kernel args "iommu=on iommu=ppt" not propagating after reboot of compute node


Version-Release number of selected component (if applicable):


How reproducible:
every time

Steps to Reproduce:
1. Include iommu args in grub cfg: /boot/grub2/grub.cfg (see additional info)
2. Following compute node creation, reboot the node
3. Check the command line output

Actual results:
"iommu=on iommu=ppt" not present in command output

Expected results:
"iommu=on iommu=ppt" should be present in command output

Additional info:

2022-06-29 16:42:24.771672 | 5254009b-c4f4-9d47-3a71-000000001541 |       TASK | Reboot after kernel args update
2022-06-29 16:42:24.777958 | 5254009b-c4f4-9d47-3a71-000000001567 |         OK | Reboot debug message | compute-0 | result={                                                                                                                
    "changed": false,
    "msg": "Going to reboot the node after applying kernel args..."
}
2022-06-29 16:42:24.780674 | 5254009b-c4f4-9d47-3a71-000000001567 |     TIMING | tripleo_kernel : Reboot debug message | compute-0 | 0:01:07.407393 | 0.05s                                                                                 
2022-06-29 16:42:24.800832 | 5254009b-c4f4-9d47-3a71-000000001568 |       TASK | Reboot after kernel args update
2022-06-29 16:43:26.282463 | 5254009b-c4f4-9d47-3a71-000000001568 |    CHANGED | Reboot after kernel args update | compute-0                                                                                                                
2022-06-29 16:43:26.284191 | 5254009b-c4f4-9d47-3a71-000000001568 |     TIMING | tripleo_kernel : Reboot after kernel args update | compute-0 | 0:02:08.911016 | 61.48


Jun 29 16:42:25 compute-0 sudo[8432]: heat-admin : TTY=pts/0 ; PWD=/home/heat-admin ; USER=root ; COMMAND=/bin/sh -c echo BECOME-SUCCESS-eyvpiolvjyamgfqelfehjvwywytvpere ; /sbin/shutdown -r 0 "Reboot initiated by Ansible"
Jun 29 16:42:25 compute-0 systemd-logind[883]: System is rebooting (Reboot initiated by Ansible).

Jun 29 16:42:40 localhost kernel: Linux version 5.14.0-70.17.1.el9_0.x86_64 (mockbuild.eng.bos.redhat.com) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Tue Jun 14 11:32:10 EDT 2022
Jun 29 16:42:40 localhost kernel: The list of certified hardware and cloud instances for Red Hat Enterprise Linux 9 can be viewed at the Red Hat Ecosystem Catalog, https://catalog.redhat.com.
Jun 29 16:42:40 localhost kernel: Command line: BOOT_IMAGE=(lvmid/IeQjag-VJS9-SwSJ-3xa2-ckXW-2ikL-CTtI8z/JH3J3b-5n8r-tMMv-eK0a-mrkc-qfEV-3Y8Qd3)/boot/vmlinuz-5.14.0-70.17.1.el9_0.x86_64 root=LABEL=img-rootfs ro console=ttyS0 console=ttyS0,115200n81 no_timer_check crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M console=tty0 console=ttyS0,115200 no_timer_check nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb

[root@compute-0 ~]# 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=1G-4G:192M,4G-64G:256M,64G-:512M"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_DEVICE=LABEL=img-rootfs
GRUB_DISABLE_LINUX_UUID=true
GRUB_TIMEOUT=5
GRUB_TERMINAL="serial console"
GRUB_GFXPAYLOAD_LINUX=auto
GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200 no_timer_check nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb"
GRUB_TRIPLEO_HEAT_TEMPLATE_KERNEL_ARGS=" iommu=on iommu=ppt "
GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX:+$GRUB_CMDLINE_LINUX }${GRUB_TRIPLEO_HEAT_TEMPLATE_KERNEL_ARGS}"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"

[root@compute-0 ~]# grep -R " iommu=on iommu=ppt " /boot/
/boot/efi/EFI/redhat/grub.cfg:  set kernelopts="root=LABEL=img-rootfs ro console=ttyS0 console=ttyS0,115200n81 no_timer_check  crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M  iommu=on iommu=ppt  console=tty0 console=ttyS0,115200 no_timer_check nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb"
/boot/efi/EFI/BOOT/grub.cfg:  set kernelopts="root=LABEL=img-rootfs ro console=ttyS0 console=ttyS0,115200n81 no_timer_check  crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M  iommu=on iommu=ppt  console=tty0 console=ttyS0,115200 no_timer_check nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb"
/boot/grub2/grub.cfg:  set kernelopts="root=LABEL=img-rootfs ro console=ttyS0 console=ttyS0,115200n81 no_timer_check  crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M  iommu=on iommu=ppt  console=tty0 console=ttyS0,115200 no_timer_check nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb"

Comment 13 errata-xmlrpc 2022-09-21 12:23:13 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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/RHEA-2022:6543


Note You need to log in before you can comment on or make changes to this bug.