The Sushy library should be installed on the ironic conductor node(s).
For example, it can be installed with pip
:
sudo pip install sushy
Add redfish
to the list of enabled_hardware_types
,
enabled_power_interfaces
and enabled_management_interfaces
in /etc/ironic/ironic.conf
. For example:
[DEFAULT]
...
enabled_hardware_types = ipmi,redfish
enabled_power_interfaces = ipmitool,redfish
enabled_management_interfaces = ipmitool,redfish
Restart the ironic conductor service:
sudo service ironic-conductor restart
# Or, for RDO:
sudo systemctl restart openstack-ironic-conductor
Nodes configured to use the driver should have the driver
property
set to redfish
.
The following properties are specified in the node’s driver_info
field:
redfish_address
: The URL address to the Redfish controller. It mustredfish_system_id
: The canonical path to the System resource thatredfish_username
: User account with admin/server-profile accessredfish_password
: User account password. Although not required, it isredfish_verify_ca
: If redfish_address has the https scheme, theThe openstack baremetal node create
command can be used to enroll
a node with the redfish
driver. For example:
openstack baremetal node create --driver redfish --driver-info \
redfish_address=https://example.com --driver-info \
redfish_system_id=/redfish/v1/Systems/CX34R87 --driver-info \
redfish_username=admin --driver-info redfish_password=password
For more information about enrolling nodes see Enrollment in the install guide.
redfish
hardware type¶The redfish
hardware type can read current boot mode from the
bare metal node as well as set it to either Legacy BIOS or UEFI.
Note
Boot mode management is the optional part of the Redfish specification. Not all Redfish-compliant BMCs might implement it. In that case it remains the responsibility of the operator to configure proper boot mode to their bare metal nodes.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.