Bug 1464523 - Unable to introspect/provision UEFI enabled KVM machines with Ironic
Unable to introspect/provision UEFI enabled KVM machines with Ironic
Status: CLOSED DUPLICATE of bug 1489192
Product: Red Hat OpenStack
Classification: Red Hat
Component: ipxe (Show other bugs)
12.0 (Pike)
x86_64 Linux
unspecified Severity low
: ---
: ---
Assigned To: RHOS Maint
Shai Revivo
Depends On:
  Show dependency treegraph
Reported: 2017-06-23 12:12 EDT by Dan Yasny
Modified: 2017-09-19 14:24 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-09-19 14:22:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 1462351 None None None 2017-06-23 12:12 EDT

  None (edit)
Description Dan Yasny 2017-06-23 12:12:01 EDT
Description of problem:
When trying to introspect or provision KVM VMs with UEFI enabled, Ironic times out.

The VM console looks like it's looping over the NICs, trying to pxeboot each of them. I can see DHCP being picked up, then ipxe.efi, and then it just hops to the next NIC, until the introspection times out for the node.

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1. deploy undercloud
2. create some UEFI enabled VMs[1] and register them
3. try to run introspection

Actual results:
as described above

Expected results:
introspection successful

Additional info:
please see https://bugzilla.redhat.com/show_bug.cgi?id=1462351 for the details about how KVM/libvirt were set up to ensure UEFI works and does PXEboot.
Comment 1 Dmitry Tantsur 2017-06-26 11:10:11 EDT
Could you please provide details on how exactly you've set your KVM VMs with UEFI?
Comment 2 Dmitry Tantsur 2017-06-26 11:11:47 EDT
Also please try tcpdump-ing br-ctlplane to catch the DHCP traffic.
Comment 3 Dan Yasny 2017-06-27 10:50:35 EDT
The domxml for the VM in use is at https://bugzilla.redhat.com/show_bug.cgi?id=1462351#c4

You can simply generate a VM with proper configs by installing RHEL7.4, OVMF and running virt-install --boot uefi

I don't have a reproducer handy to get the dumps atm, but I'll have something set up when some more urgent stuff is finished
Comment 4 Bob Fournier 2017-08-24 16:22:52 EDT
Dan - any luck in reproducing this?
Comment 5 Dan Yasny 2017-08-24 16:27:30 EDT
(In reply to Bob Fournier from comment #4)
> Dan - any luck in reproducing this?

every single time I tried.
Comment 6 Bob Fournier 2017-08-31 17:36:58 EDT
Dan - can you try the workaround here to dnsmasq.conf?https://bugzilla.redhat.com/show_bug.cgi?id=1479386
Comment 7 Bob Fournier 2017-09-19 14:22:41 EDT
Dan - I'm marking this is as a dup of 1479386 which fixes an introspection UEFI issue. From the description this sounds very similar - DHCP works and the ipxe.efi is downloaded but it never proceeds past that as the dnsmasq.conf will keep providing ipxe.efi if EFI is set.

If the problem still occurs even with the fix for 1479386 or a workaround to change the settings in /etc/ironic/dnsmasq.conf. then please reopen this.

*** This bug has been marked as a duplicate of bug 1479386 ***
Comment 8 Bob Fournier 2017-09-19 14:24:47 EDT

*** This bug has been marked as a duplicate of bug 1489192 ***

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