ironic/ironic/tests/unit/drivers
Yogesh Ramachandra 82627acadc Fix idrac-wsman BIOS factory_reset result finding
This change fixes the idrac-wsman BIOS hardware interface
implementation's determination of the result of its factory_reset
cleaning/deploy step, and, on success, updating of the cached BIOS
settings to their defaults. It uses a deterministic means of identifying
when the reset has successfully completed and the default BIOS settings
are available to be read.

The time when the iDRAC last performed a system inventory is referred to
as Collect System Inventory on Restart (CSIOR). CSIOR updates the values
of BIOS settings that can be read from the iDRAC. The interface reads
the CSIOR and records it on the ironic bare metal node before requesting
the factory reset and rebooting the system to process the request.
Following the system reboot, the CSIOR is periodically read until its
value changes from its recorded value. If that occurs before the
configured amount of time has passed, the step succeeds and the cached
BIOS settings are updated. Otherwise, the step fails and the node is
placed in the failed state.

Story: 2008058
Task: 40739
Depends-On: https://review.opendev.org/c/openstack/python-dracclient/+/748571
Change-Id: I11b92612d6686b7133ddef67068664c9b81df30e
2021-04-06 23:56:35 -04:00
..
modules Fix idrac-wsman BIOS factory_reset result finding 2021-04-06 23:56:35 -04:00
__init__.py Add my new address to .mailmap 2020-04-13 07:29:37 -07:00
boot.ipxe Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
ipxe_config.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_iso.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_extra_volume.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_multipath.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_no_extra_volumes.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_timeout.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ks_extra_vars.tmpl Validate the kickstart template and file before use 2021-03-23 21:53:35 -07:00
ks_missing_var.tmpl Validate the kickstart template and file before use 2021-03-23 21:53:35 -07:00
pxe_config.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
pxe_grub_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
test_base.py Use OOB inspection to fetch MACs for IB inspection 2021-02-11 17:03:18 +10:00
test_drac.py Add Redfish RAID interface to idrac HW type 2021-03-19 12:11:50 -04:00
test_fake_hardware.py Fix the remaining hacking issues 2020-03-31 13:40:00 +00:00
test_generic.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_ibmc.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_ilo.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_ipmi.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_irmc.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_redfish.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_snmp.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_utils.py Move configuration mold utilities 2021-03-29 07:42:53 -04:00
test_xclarity.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
third_party_driver_mock_specs.py Fix idrac-wsman BIOS factory_reset result finding 2021-04-06 23:56:35 -04:00
third_party_driver_mocks.py Fix idrac-wsman BIOS factory_reset result finding 2021-04-06 23:56:35 -04:00