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

Bug 1438574

Summary: [RFE] whole disk images support with UEFI
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: openstack-ironicAssignee: Dmitry Tantsur <dtantsur>
Status: CLOSED CURRENTRELEASE QA Contact: mlammon
Severity: medium Docs Contact:
Priority: medium    
Version: 11.0 (Ocata)CC: dtantsur, jschluet, mburns, mlammon, racedoro, rhel-osp-director-maint, sasha, sclewis, sputhenp, srevivo
Target Milestone: gaKeywords: FutureFeature, TestOnly, Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-01 17:03:04 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:
Bug Depends On: 1381508    
Bug Blocks: 1488557, 1646907, 1677770    

Description Alexander Chuzhoy 2017-04-03 19:45:30 UTC
openstack-ironic: [RFE] whole disk images boot support with EUFI.

Need to have an easy way to boot whole disk images with EUFI. 
Currently, I'm forced to convert whole disk images to partitioned images for booting with EUFI.

Thanks.

Comment 1 Dmitry Tantsur 2017-04-25 10:33:12 UTC
Sasha, are you sure it's an Ironic problem rather than image building one? How did you build your images (BIOS whole disk image won't work for UEFI)? Which error did you see?

Removing from release until the scope of RFE and whether it's an RFE at all is clear.

Comment 2 Ramon Acedo 2017-04-26 10:29:45 UTC
IIRC the problem might be related to whole-disk images using MBR instead of GPT and UEFI seemed to require GPT. Sasha tested with a whole-disk image which was UEFI compatible and it worked.

I'd say that Ironic supports UEFI with whole-disk images but the whole-disk images have to be prepared for UEFI and this RFE is to verify the whole-disk image requirements.

Comment 7 mlammon 2017-09-05 16:57:28 UTC
Open bug to see if we can get this GPT support in the diskimage-builder
https://bugzilla.redhat.com/show_bug.cgi?id=1488557

Comment 13 Dmitry Tantsur 2017-12-06 14:12:17 UTC
Sorry, returning needinfo on Mike.

Comment 14 mlammon 2017-12-07 22:26:08 UTC
This image rhel-server-7.4-x86_64-kvm.qcow2 from cc#10 was tested on RHOS12 GA as a baremetal instance in UEFI environment and confirm it doesn't work.

Comment 18 Dmitry Tantsur 2017-12-08 10:36:15 UTC
Could you please elaborate on setting this to NEW? Do we need TripleO bits, to fix the KVM image, or...? This RFE is against Ironic and it's implemented really long ago.

Comment 20 Ramon Acedo 2017-12-08 10:39:35 UTC
The purpose of this RFE is verifying if Ironic works with whole-disk images on UEFI nodes.

If you look through the comments, in comment #4 we suspected that the RHEL image may not work so we should probably test with another image, for example Ubuntu’s which is shipped for UEFI and for non UEFI. This is the UEFI image:

https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-uefi1.img

If this image works we are verifying what we want but we wanted to verify if our own image, the RHEL guest qcow2 image works, since this image should be our default image and it has to work too. This is what I requested to test in comment #10.

As we suspected the RHEL guest image would not work (remember our conversation about it having a GPT partition table, which is a UEFI requirement), I opened https://bugzilla.redhat.com/show_bug.cgi?id=1507860 for the RHEL team. They then said that it should work in UEFI but you just confirmed it doesn’t.

I suggest this action plan:

a. Test it again with the Ubuntu image
b. One we verify the Ubuntu image works, reply to https://bugzilla.redhat.com/show_bug.cgi?id=1507860#c4 to the RHEL team confirming that the RHEL guest image doesn’t work in UEFI so that they keep working on the BZ to enable support.

Comment 22 mlammon 2017-12-08 22:46:22 UTC
Ubuntu image which is efi image successfully booted the instance. 
Given the instructions in c#20 we can verify this bz and update 1507860