Bug 2327390 - [OSP 17.1] - tripleo-ansible change 'Replace EFI grub.cfg with a stub redirect' could result in non-bootable system.
Summary: [OSP 17.1] - tripleo-ansible change 'Replace EFI grub.cfg with a stub redirec...
Keywords:
Status: CLOSED DUPLICATE of bug 2305981
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.1 (Wallaby)
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-19 18:24 UTC by Matt Flusche
Modified: 2024-11-25 21:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-25 21:19:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-33083 0 None None None 2024-11-19 18:26:36 UTC
Red Hat Issue Tracker OSP-33098 0 None None None 2024-11-22 17:54:10 UTC
Red Hat Issue Tracker   OSPRH-11899 0 None None None 2024-11-25 21:19:07 UTC
Red Hat Knowledge Base (Solution) 7096899 0 None None None 2024-11-19 21:06:11 UTC

Description Matt Flusche 2024-11-19 18:24:27 UTC
Description of problem:
From tripleo-ansble change log

* Mon Jun 03 2024 OSP Prod Chain <dev-null> 3.3.1-17.1.20240603220822.8debef3
- Replace EFI grub.cfg with a stub redirect (rhbz#2277685 rhbz#2278025)

This change could result in non-bootable system if /boot/grub2/grub.cfg is not valid.

Prior to this change, /boot/grub2/grub.cfg, is unused on efi systems.  While it generally should be good, there is no guarantee.

One specific example would be upgrade from rhel 7->8->9, where grub2 was changed from non-BLS to BLS config during rhel8 upgrade and the rhel7 /etc/grub2/grub.cfg was left intact.

Validating and if necessary creating /boot/grub2/grub.cfg should be done when adding the EFI stub redirect.


Version-Release number of selected component (if applicable):
OSP 17.1
tripleo-ansible > 3.3.1-17.1.20240603220822.8debef3


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