https://bugs.launchpad.net/ironic/+bug/1716329
This specification proposes implementation of out-of-band RAID configuration for ILO managed HPE Proliant servers.
In the current scenario where RAID configuration on HPE Proliant servers is done only via inband cleaning, Ilo5 based HPE Proliant Gen10 servers provide support to perform out-of-band RAID configuration which was not there in Gen9 and below servers. However, the raid creation or deletion will take into effect only when the system reaches POST stage. Hence, creation or deletion of RAID needs to be accompanied by a reboot.
This spec proposes to implement out-of-band RAID configuration as described
by the parent spec [1]. This will require the implementation of a new hardware
type Ilo5Hardware
and a new raid interface for ilo as IloRAID
.
OOB RAID configuration will be a four step process. 1. delete_configuration - delete the current raid config from the system. 2. read_configuration - get the updated raid config from system and update the node properties accordingly. 3. create_configuration - create the raid config which set by the user in target_raid_config of node properties. 4. read_configuration - get the updated raid config from system and update the node properties accordingly.
List of changes required:
Ilo5Hardware
:IloRAID
.IloRAID
:delete_configuration
- This will delete the RAID configuration on
the bare metal node.create_configuration
- This will create the RAID configuration on
the bare metal node.read_configuration
- This will read the RAID configuration on
the bare metal node.create_configuration
and to None
when called after delete_configuration
.reboot_required
to
clean_step function of BaseInterface. Default is set to False
for
this parameter.
NOTE: The same approach is being used in inband cleaning for steps
that require reboot.clean wait
.One can perform in-band raid configuration to achieve the same result. However, The ramdisk to be used in such case should have proliant-tools element that bundles ‘ssacli’ utility required for RAID operations as part of the image.
None
None
None
None
None
None
None
None
None
None
None
None
User need to configure below two things to make use of OOB RAID configuration on HPE Proliant Gen10 servers.
ilo5
to ([DEFAULT]
enabled_hardware_types
).ilo5
to ([DEFAULT]
enabled_raid_interfaces
).None
Primary assignee: theanshuljain
Ilo5Hardware
which inherits IloHardware.IloRAID
which inherits base.RAIDInterface.Support for OOB RAID in proliantutils is under development and is yet to be released.
Unit test cases will be added. Will be tested in 3rd party CI setup.
None
Need to update iLO driver documentation for new hardware type and RAID interface.
[1] Ironic generic raid spec: https://review.openstack.org/173214
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.