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

Bug 2299694

Summary: minimal-image not booting up with UEFI.
Product: Red Hat OpenStack Reporter: Siggy Sigwald <ssigwald>
Component: openstack-tripleo-puppet-elementsAssignee: Steve Baker <sbaker>
Status: CLOSED ERRATA QA Contact: Alfredo <alfrgarc>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: alfrgarc, apevec, gfidente, hjensas, jelle.hoylaerts.ext, jkreger, johfulto, jslagle, ktordeur, madgupta, mariel, mburns, sbaker, tpass, wreiner
Target Milestone: z4Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:41:57 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:

Comment 9 Steve Baker 2024-08-07 00:04:09 UTC
Here are the commands to add the missing grub.cfg to the overcloud-minimal image, assuming the overcloud-minimal files are in the current directory on the undercloud:

cat > grub.cfg << EOF
search --no-floppy --set prefix --file /grub2/grub.cfg
set prefix=(\$prefix)/grub2
configfile \$prefix/grub.cfg
EOF
virt-customize -a ./overcloud-minimal.qcow2 --copy-in ./grub.cfg:/boot/efi/EFI/redhat

Then use the "openstack overcloud image upload" command you use to upload the overcloud-minimal image, adding the "--update-existing" argument.

This general guide to modifying overcloud images may also be useful: https://access.redhat.com/articles/1556833

Can the customer use this to scale up their ceph cloud and report back with the results? If there is a boot failure can they please provide full details.

Comment 10 Kenny Tordeurs 2024-08-08 15:30:34 UTC
(In reply to Steve Baker from comment #9)
> Here are the commands to add the missing grub.cfg to the overcloud-minimal
> image, assuming the overcloud-minimal files are in the current directory on
> the undercloud:
> 
> cat > grub.cfg << EOF
> search --no-floppy --set prefix --file /grub2/grub.cfg
> set prefix=(\$prefix)/grub2
> configfile \$prefix/grub.cfg
> EOF
> virt-customize -a ./overcloud-minimal.qcow2 --copy-in
> ./grub.cfg:/boot/efi/EFI/redhat
> 
> Then use the "openstack overcloud image upload" command you use to upload
> the overcloud-minimal image, adding the "--update-existing" argument.
> 
> This general guide to modifying overcloud images may also be useful:
> https://access.redhat.com/articles/1556833
> 
> Can the customer use this to scale up their ceph cloud and report back with
> the results? If there is a boot failure can they please provide full details.

Attempt with the applied fix you suggested, but we keep having the same errors, I'll attach the log file.

Comment 24 Steve Baker 2024-08-12 01:07:06 UTC
Setting a NEEDINFO for John for awareness in the ceph squad. Actions now include:
- Aiming for automated testing of overcloud-minimal with UEFI boot in time for 17.1.4
- Fixing the docs issue mentioned in comment #23

Comment 26 John Fulton 2024-08-12 14:14:02 UTC
(In reply to Steve Baker from comment #24)
> Setting a NEEDINFO for John for awareness in the ceph squad. Actions now
> include:
> - Aiming for automated testing of overcloud-minimal with UEFI boot in time for 17.1.4

I'll add this to the agenda for the next Ceph squad meeting.

> - Fixing the docs issue mentioned in comment #23

Doc bug opened https://bugzilla.redhat.com/show_bug.cgi?id=2304140

Comment 46 errata-xmlrpc 2024-11-21 09:41:57 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