Bug 1830298

Summary: No network devices shows up when PXE booting via UEFI + IPv4
Product: OpenShift Container Platform Reporter: Stephen Benjamin <stbenjam>
Component: Bare Metal Hardware ProvisioningAssignee: Julia Kreger <jkreger>
Bare Metal Hardware Provisioning sub component: ironic QA Contact: Amit Ugol <augol>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: augol, emahoney, jkreger, mcornea, racedoro, rbartal, rlopez, sdodson, vlaad
Version: 4.4Keywords: Triaged
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1830161 Environment:
Last Closed: 2020-05-26 16:50:33 UTC Type: ---
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: 1830161    
Bug Blocks:    
Attachments:
Description Flags
pxe_efi.png none

Description Stephen Benjamin 2020-05-01 14:24:27 UTC
+++ This bug was initially created as a clone of Bug #1830161 +++

Description of problem:

When booting via UEFI, using IPv4 PXE protocol, error of no network devices shows up. Via https://github.com/openshift/ironic-image/blob/master/dnsmasq.conf.j2#L28 we see that ipxe.efi is set but it should be using snponly.efi https://github.com/metal3-io/ironic-image/blob/master/dnsmasq.conf.j2#L41



Steps to Reproduce:
1. Ensure UEFI+ IPv4 PXE protocol in UEFI settings
2. Attempt an IPI on BM install

Actual results:
Fails to PXE masters with No network devices

Expected results:
Properly PXE the master nodes. 


https://github.com/openshift/ironic-image/blob/master/dnsmasq.conf.j2#L28
https://github.com/metal3-io/ironic-image/blob/master/dnsmasq.conf.j2#L41

--- Additional comment from Julia Kreger on 2020-05-01 00:13:14 UTC ---

UEFI stacks are supposed to supply network stacks to the firmware images loaded such as those for ipxe before the operating system loads. This means we should be using the snponly.efi binary for uefi with IPv4. With IPv6, the file is already correct.

Pull requests created for openshift and metal3.

https://github.com/openshift/ironic-image/pull/76
https://github.com/metal3-io/ironic-image/pull/152

Comment 5 Stephen Benjamin 2020-05-18 00:48:49 UTC
*** Bug 1835984 has been marked as a duplicate of this bug. ***

Comment 7 Marius Cornea 2020-05-22 15:36:30 UTC
Created attachment 1691126 [details]
pxe_efi.png

We can see that snponly.efi is loaded on IPv4 provisioning network with 4.4.5 image.

Comment 9 errata-xmlrpc 2020-05-26 16:50:33 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, 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-2020:2180