Bug 2290660 - /boot/efi/EFI/redhat/grub.cfg needs to be replaced with a RHEL style redirect
Summary: /boot/efi/EFI/redhat/grub.cfg needs to be replaced with a RHEL style redirect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-puppet-elements
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 17.1
Assignee: Steve Baker
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-06 02:20 UTC by Steve Baker
Modified: 2024-11-21 09:41 UTC (History)
6 users (show)

Fixed In Version: openstack-tripleo-puppet-elements-14.1.3-17.1.20240820000820.b4e0cbd.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-21 09:41:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-32217 0 None None None 2024-06-06 02:24:26 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:41:13 UTC

Description Steve Baker 2024-06-06 02:20:45 UTC
Currently on the image overcloud-hardened-uefi-full.qcow2, the file /boot/efi/EFI/redhat/grub.cfg is identical to /boot/grub2/grub.cfg. This has the following consequences:

- Any time grub2-mkconfig is run, it needs to be run again for /boot/efi/EFI/redhat/grub.cfg
- /boot/efi/EFI/redhat/grubenv needs to exist and also be identical to /boot/grub2/
- Out-of-band package updates may update /boot/grub2/grub.cfg leaving /boot/efi/EFI/redhat/grub.cfg out of date, resulting in the wrong kernel booting, or in extreme scenarios UEFI boot may terminate at the grub prompt

To fix this, /boot/efi/EFI/redhat/grub.cfg needs to be a redirect to /boot/grub2/grub.cfg, as is implemented in RHEL.

bz 2278025 is tracking fixing this for existing systems being upgraded to 17.1, and also fixing this whenever the tripleo-ansible tripleo_kernel role is run. But we need to also publish an image that has the correct grub.cfg, hence this bug.

Comment 5 Steve Baker 2024-08-09 01:40:26 UTC
The fix was moved to tripleo-puppet-elements so that it also fixes bz 2299694

Comment 17 errata-xmlrpc 2024-11-21 09:41:11 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 (RHOSP 17.1.4 bug fix and enhancement 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-2024:9974


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