ironic/ironic/tests/unit/drivers/modules/drac
Richard Pioso 86e3a100a3 Fix DRAC classic driver double manage/provide
This change fixes an issue that caused a node using a Dell EMC
integrated Dell Remote Access Controller (iDRAC) classic driver,
'pxe_drac' or 'pxe_drac_inspector', to be placed in the 'clean failed'
state after a double manage/provide cycle, instead of the 'available'
state.

The deploy interface implementation used by iDRAC classic drivers has
been class ironic.drivers.modules.drac.deploy.DracDeploy, which is
derived from class ironic.drivers.modules.iscsi_deploy.ISCSIDeploy. The
only difference between them is that DracDeploy overrides the
prepare_cleaning() method to prevent the booting of the Ironic Python
Agent (IPA) ramdisk when only out-of-band RAID clean steps are
requested. However, it caused the issue and did not have its intended
effect, because Ironic Conductor boots the ramdisk regardless. The
Ironic Conductor should be modified to preclude the booting of the IPA
ramdisk fix, rather than leaving it to individual drivers.

The iDRAC classic drivers' deploy interface implementation has been
changed to ISCSIDeploy. Since class DracDeploy is no longer needed, its
source code and automated tests have been removed.

Change-Id: Ib2c9b7f9f780aaf5f6345825b1f6c9ddb4f9c41f
Closes-Bug: #1676387
Related-Bug: #1572529
Related-Bug: #1705741
2017-08-18 14:40:18 +00:00
..
__init__.py Move unit tests to correct directory 2015-09-30 17:47:19 -07:00
test_bios.py DRAC get_bios_config() passthru causes exception 2016-10-31 15:00:32 -04:00
test_common.py Drac: Deprecate drac_host property 2016-11-25 11:21:39 +00:00
test_inspect.py Fix nits on DRAC OOB inspection patch 2016-09-13 11:18:32 +02:00
test_job.py DRAC: list unfinished jobs 2016-09-21 15:46:46 +01:00
test_management.py Refactor DRAC driver boot-device tests 2017-01-16 13:41:59 +00:00
test_periodic_task.py Use more specific asserts in tests 2017-08-04 08:42:39 +02:00
test_power.py Unit test consistency: DB base and utils prefix 2017-06-20 09:36:21 +01:00
test_raid.py Revert "Wait until iDRAC is ready before out-of-band cleaning" 2017-07-07 14:18:24 -04:00
utils.py DRAC OOB inspection 2016-09-02 12:08:38 +02:00