Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2278562

Summary: overcloud-hardened-uefi-full only has a 16MiB /boot/efi partition
Product: Red Hat OpenStack Reporter: Steve Baker <sbaker>
Component: openstack-tripleo-image-elementsAssignee: Steve Baker <sbaker>
Status: CLOSED ERRATA QA Contact: Nobody <nobody>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: igallagh, jelle.hoylaerts.ext, jparoly, ktordeur, mariel, mburns
Target Milestone: z4Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-image-elements-13.1.3-17.1.20240901230801.a641940.el9ost Doc Type: Release Note
Doc Text:
The `/boot/efi` partition for the `overcloud-hardened-uefi-full` image has been increased from 16MiB to 200MiB to accommodate binaries for firmware upgrades.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:40:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Baker 2024-05-02 03:28:39 UTC
The latest rhel-9.4-x86_64-kvm.qcow2 has a 200MB /boot/efi partition and a 1GB /boot partition:


$ lsblk --output SIZE,LABEL,PARTTYPENAME /dev/nbd0
 SIZE LABEL PARTTYPENAME
  10G       
   1M       BIOS boot
 200M       EFI System
   1G boot  Linux extended boot
 8.8G root  Linux filesystem
$ lsblk -b --output SIZE,LABEL,PARTTYPENAME /dev/nbd0
       SIZE LABEL PARTTYPENAME
10737418240       
    1048576       BIOS boot
  209715200       EFI System
 1073741824 boot  Linux extended boot
 9451847168 root  Linux filesystem

Whereas overcloud-hardened-uefi-full.qcow2 has a 16MB /boot/efi and a 500MB /boot partition

$ lsblk --output SIZE,LABEL,PARTTYPENAME /dev/nbd0
 SIZE LABEL      PARTTYPENAME
   6G            
  16M MKFS_ESP   EFI System
   8M            BIOS boot
 500M mkfs_boot  Linux extended boot
   5G            Linux filesystem
...

$ lsblk -b --output SIZE,LABEL,PARTTYPENAME /dev/nbd0
      SIZE LABEL      PARTTYPENAME
6442450944            
  16777216 MKFS_ESP   EFI System
   8388608            BIOS boot
 524288000 mkfs_boot  Linux extended boot
5330960384            Linux filesystem
...

We need to increase the size of /boot/efi to 200MB to align with RHEL and accommodate firmware files, and also should discuss whether 500MB is still appropriate for /boot.

Comment 15 errata-xmlrpc 2024-11-21 09:40:12 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