Prepare devstack for Ironic cleaning testing
This patch changes the two config options required for Ironic to
successfully test cleaning in devstack.
First, we disable erase_devices clean step. Erase devices in VMs
ends up running shred on the drives for the agent driver, which is
incredibly slow and completely unneeded in devstack.
Additionally, we allow Ironic more time to complete the unprovision
after the nova instance is deleted. This time is spend in the CLEANING
state to clean up the node.
This is related to the Ironic blueprint "implement-cleaning-states".
Change-Id: I77081165a80491da3e66d8a4554b6d71fc3d9353
diff --git a/lib/tempest b/lib/tempest
index 8672a14..c981c2b 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -476,6 +476,7 @@
# Baremetal
if [ "$VIRT_DRIVER" = "ironic" ] ; then
iniset $TEMPEST_CONFIG baremetal driver_enabled True
+ iniset $TEMPEST_CONFIG baremetal unprovision_timeout 300
iniset $TEMPEST_CONFIG compute-feature-enabled change_password False
iniset $TEMPEST_CONFIG compute-feature-enabled console_output False
iniset $TEMPEST_CONFIG compute-feature-enabled interface_attach False