diff --git a/ironic/drivers/redfish.py b/ironic/drivers/redfish.py index 51e34d6be3..feb579af0d 100644 --- a/ironic/drivers/redfish.py +++ b/ironic/drivers/redfish.py @@ -53,5 +53,7 @@ class RedfishHardware(generic.GenericHardware): @property def supported_boot_interfaces(self): """List of supported boot interfaces.""" - return [redfish_boot.RedfishVirtualMediaBoot, - ipxe.iPXEBoot, pxe.PXEBoot] + # NOTE(dtantsur): virtual media goes last because of limited hardware + # vendors support. + return [ipxe.iPXEBoot, pxe.PXEBoot, + redfish_boot.RedfishVirtualMediaBoot] diff --git a/releasenotes/notes/redfish-priorities-adf4b7bfbee0ca25.yaml b/releasenotes/notes/redfish-priorities-adf4b7bfbee0ca25.yaml new file mode 100644 index 0000000000..3430c59cfe --- /dev/null +++ b/releasenotes/notes/redfish-priorities-adf4b7bfbee0ca25.yaml @@ -0,0 +1,13 @@ +--- +upgrade: + - | + The ``redfish-virtual-media`` boot interface is now the last in the list of + priorities from the ``redfish`` hardware type. This means that new nodes + will be created with ``ipxe`` or ``pxe`` boot if they are enabled. The + reason for this change is limited support for pure Redfish virtual media + from hardware vendors. + + To use virtual media with Redfish, please provide an explicit + ``boot_interface`` parameter when creating nodes. If you enable only the + ``redfish`` hardware type, you can also set the ``default_boot_interface`` + configuration option to ``redfish-virtual-media``.