Bug 1291382 - iPXE can't be configured with UEFI
Summary: iPXE can't be configured with UEFI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ga
: 9.0 (Mitaka)
Assignee: Lucas Alvares Gomes
QA Contact: Raviv Bar-Tal
URL:
Whiteboard:
: 1242591 1284628 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-14 18:14 UTC by Lucas Alvares Gomes
Modified: 2020-01-17 15:36 UTC (History)
12 users (show)

Fixed In Version: openstack-ironic-5.1.2-3.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, the iPXE driver had a conditional that prevented nodes from being configured with UEFI boot mode. Consequently, iPXE driver users could not configure their nodes with UEFI and were forced to use the BIOS instead. With this update, the conditional was removed, and users of the iPXE driver can now deploy their nodes in UEFI mode.
Clone Of:
Environment:
Last Closed: 2016-08-11 12:13:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1525989 0 None None None Never
Red Hat Product Errata RHEA-2016:1597 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 9 Release Candidate Advisory 2016-08-11 16:06:52 UTC

Description Lucas Alvares Gomes 2015-12-14 18:14:56 UTC
Description of problem:
Ironic has a conditional preventing configuring a node with UEFI when iPXE is enabled [0], that's not needed since iPXE already supports UEFI [1].

The only difference to use UEFI with iPXE is to use the ipxe.efi ROM instead of the undionly.kpxe.

[0] https://github.com/openstack/ironic/blob/1d6f6586abe4d6df5c477cfaef16783163a69f93/ironic/drivers/modules/pxe.py#L407-L414

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

How reproducible:
100%

Steps to Reproduce:
1.Update the nova flavor with boot_mode=uefi

$ nova flavor-key baremetal set capabilities:boot_mode="uefi"

2.Add the boot_mode:uefi capability in Ironic

$ ironic node-update node-0 add properties/capabilities="boot_mode:uefi"

3. Validate/Try to deploy a node

Actual results:
The deployment of the node fails saying "iPXE is enabled, but cannot be used with node <node uuid> configured to use UEFI boot"

Expected results:
Deployment should start


Additional info:

Comment 4 Lucas Alvares Gomes 2016-06-16 09:58:51 UTC
*** Bug 1284628 has been marked as a duplicate of this bug. ***

Comment 5 Lucas Alvares Gomes 2016-06-16 09:59:52 UTC
*** Bug 1242591 has been marked as a duplicate of this bug. ***

Comment 7 Miles Gould 2016-08-01 11:59:10 UTC
Step 2 should be

ironic node-update node-0 add properties/capabilities="boot_mode:uefi,boot_option:local"

Comment 9 errata-xmlrpc 2016-08-11 12:13:34 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://rhn.redhat.com/errata/RHEA-2016-1597.html


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