Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-6691

edpm-hardened-uefi only has a 16MiB /boot/efi partition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • rhos-18.0.0
    • rhos-18.0.0
    • edpm-image-builder
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • No
    • Hide
      .Increased EFI partition size
      Before RHOSP 17.1.4, the EFI partition size of an overcloud node was 16MB. With this update, the image used for provisioned EDPM nodes now has an EFI partition size of 200MB to align with RHEL and to accommodate firmware upgrades.
      Show
      .Increased EFI partition size Before RHOSP 17.1.4, the EFI partition size of an overcloud node was 16MB. With this update, the image used for provisioned EDPM nodes now has an EFI partition size of 200MB to align with RHEL and to accommodate firmware upgrades.
    • Bug Fix
    • Done
    • 2024Q2
    • Important
    • HardProv

      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 edpm-hardened-uefi.qcow2 has a 16MB /boot/efi and a 500MB /boot partition

      $ lsblk --output SIZE,LABEL,PARTTYPENAME /dev/nbd0
       SIZE LABEL      PARTTYPENAME
         5G            
        16M MKFS_ESP   EFI System
         8M            BIOS boot
       500M mkfs_boot  Linux extended boot
       4.5G            Linux filesystem
      ...
      
      $ lsblk -b --output SIZE,LABEL,PARTTYPENAME /dev/nbd0
            SIZE LABEL      PARTTYPENAME
      5368709120            
        16777216 MKFS_ESP   EFI System
         8388608            BIOS boot
       524288000 mkfs_boot  Linux extended boot
      4817158144            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
       

            rhn-engineering-sbaker Steve Baker
            rhn-engineering-sbaker Steve Baker
            rhos-dfg-hardprov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: