Description of problem: On UEFI deployed systems, KernelArgs parameters are not applied on overcloud nodes during deployment. This seems to impact newer version of 16.1 (16.1.5 and 16.1.6 perhaps). We traced this down to an issue where grub2-mkconfig is not updating /boot/efi/EFI/redhat/grubenv and created the following bz: https://bugzilla.redhat.com/show_bug.cgi?id=1973289 There is discussion here that grubby should be used rather than grub2-mkconfig so I wanted to loop in deployment framework for input. Version-Release number of selected component (if applicable): OSP 16.1 tripleo-ansible-0.5.1-1.20201114030848.2.el8ost.noarch rpm -qf /usr/share/ansible/roles/tripleo-kernel/tasks/kernelargs.yml tripleo-ansible-0.5.1-1.20201114030848.2.el8ost.noarch From /usr/share/ansible/roles/tripleo-kernel/tasks/kernelargs.yml" - name: Check grub config paths stat: path: "{{ item }}" register: grub_stat loop: - /boot/grub2/grub.cfg - /boot/efi/EFI/redhat/grub.cfg - /boot/efi/EFI/centos/grub.cfg - /boot/efi/EFI/fedora/grub.cfg - name: Generate grub config command: "grub2-mkconfig -o {{ item.stat.path }}" when: item.stat.exists|bool loop: "{{ grub_stat.results }}" How reproducible: 100% in this UEFI deployment. Steps to Reproduce: 1. deploy overcloud on UEFI systems with KernelArgs
I'll keep an eye on bug #1973289, but will also look into a followup ansible task which copies grubenv. Longer term we can look into switching to grubby. This is something upstream diskimage-builder needs to consider as well.
The fix has landed in master upstream, I'll start the backports now.
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 (Red Hat OpenStack Platform 16.1.6 async bug fix advisory), 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/RHBA-2021:3245