Add support of UEFI boot in Ironic

Registered by Wan-yen Hsu

This blueprint proposes to add UEFI boot for Ironic Deploy drivers:

- Add a new node property to indicate what boot modes are supported on the bare-metal node (e.g., UEFI, legacy or BIOS)
- Add boot-mode as a Nova flavor to enable selection of UEFI capable node.
- Changes in Ironic PXE Deploy driver
    - setting DHCP PXE options to UEFI
    - Configuring UEFI boot loader in CONF.pxe.pxe_boot_file_name
    - setting uefi boot mode and boot order
    - creating uefi boot config file
    - update_port_dhcp_opts needs to set boot file name to UEFI boot loader
- Changes in vendor-specific drivers are vendor dependent. Likely changes include setting uefi boot mode and boot order.

- DHCP server needs to configure to respond to UEFI options
- Create GPT if boot from local disk

Other changes including a new dib element may aslo be required to enable support of UEFI boot.

Blueprint information

Status:
Complete
Approver:
aeva black
Priority:
Medium
Drafter:
Wan-yen Hsu
Direction:
Needs approval
Assignee:
Wan-yen Hsu
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
aeva black
Completed by
aeva black

Related branches

Sprints

Whiteboard

Investigation started.

Please see the proposed changes in this etherpad for Nova Ironic driver, PXE and iLO deploy driver modules.
https://etherpad.openstack.org/p/IronicUEFISupport

- Faizan Barmawer

Gerrit topic: https://review.openstack.org/#q,topic:uefi-boot-for-ironic,n,z

Addressed by: https://review.openstack.org/99850
    UEFI support for Ironic deploy drivers

Patch implementing it: https://review.openstack.org/#/c/114357/

Gerrit topic: https://review.openstack.org/#q,topic:bp/uefi-boot-for-ironic,n,z

Addressed by: https://review.openstack.org/114357
    Add UEFI based deployment support in Ironic

Addressed by: https://review.openstack.org/116561
    Add uefi boot mode support in IloVirtualMediaIscsiDeploy.

Addressed by: https://review.openstack.org/118578
    Support for setting boot mode in pxe_ilo driver

----------------------------
Granting feature freeze exception until September 12.
-Devananda
----------------------------

Addressed by: https://review.openstack.org/127137
    Add documentation for PXE UEFI setup

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.