Add parameter IronicIPXEUefiSnpOnly

Add new parameter IronicIPXEUefiSnpOnly (default: true).
When `true` ipxe-snponly.efi is used for UEFI, when `false` ipxe.efi
is used.

'snponly.efi' is the default in puppet-ironic master branch, however
in Wallaby and earlier releases 'ipxe.efi' is the default. Since
'ipxe.efi' is not compatible with a lot of hardware TripleO should
change this default.

Related: RHBZ#2049179
Closes-Bug: 1959726
Change-Id: I8ee338c3f3e20f1826d98efb38d3b21fefda5031
This commit is contained in:
Harald Jensås 2022-02-02 00:03:59 +01:00
parent ad97bd7059
commit bd13adefd1
2 changed files with 20 additions and 0 deletions

View File

@ -298,6 +298,11 @@ parameters:
type: string type: string
constraints: constraints:
- allowed_values: ['oslo', 'json-rpc'] - allowed_values: ['oslo', 'json-rpc']
IronicIPXEUefiSnpOnly:
type: boolean
description: Wheater to use SNP (Simple Network Protocol) iPXE EFI, or not.
When set to true `ipxe-snponly` EFI is used.
default: true
parameter_groups: parameter_groups:
- label: deprecated - label: deprecated
@ -574,6 +579,12 @@ outputs:
- {get_param: IronicAuthStrategy} - {get_param: IronicAuthStrategy}
ironic::drivers::inspector::endpoint_override: {get_param: [EndpointMap, IronicInspectorInternal, uri_no_suffix]} ironic::drivers::inspector::endpoint_override: {get_param: [EndpointMap, IronicInspectorInternal, uri_no_suffix]}
ironic::service_catalog::endpoint_override: {get_param: [EndpointMap, IronicInternal, uri_no_suffix]} ironic::service_catalog::endpoint_override: {get_param: [EndpointMap, IronicInternal, uri_no_suffix]}
- if:
- {get_param: IronicIPXEUefiSnpOnly}
- ironic::pxe::common::uefi_ipxe_bootfile_name: snponly.efi
ironic::pxe::ipxe_name_base: ipxe-snponly
- ironic::pxe::common::uefi_ipxe_bootfile_name: ipxe.efi
ironic::pxe::ipxe_name_base: ipxe
service_config_settings: {} service_config_settings: {}
# BEGIN DOCKER SETTINGS # BEGIN DOCKER SETTINGS
puppet_config: puppet_config:

View File

@ -0,0 +1,9 @@
---
upgrade:
- |
The default UEFI iPXE bootfile is now `snponly.efi`. The boolean parameter
`IronicIPXEUefiSnpOnly` was added to allow custom configuration. When set
to `true` snponly is used, when `false` the previous default ipxe.efi is
used. See bug:
`1959726 <https://bugs.launchpad.net/tripleo/+bug/1959726>`_.