Browse code

Set unprovision and active timeout to match build_timeout

The build_timeout for the ironic baremetal build is at
340s. Modify the unprovision_timeout and active_timeout
to match BUILD_TIMEOUT to avoid frequent failures during
IPA gate jobs.

Change-Id: Idfdc54210e33c71719c7fd0c905d0b802809e173
Related-Bug: #1393099
(cherry picked from commit ad69e69e3f278bd28319224035997e11477617c4)

Arun S A G authored on 2015/11/21 13:01:24
Showing 1 changed files
... ...
@@ -523,7 +523,8 @@ function configure_tempest {
523 523
     # Baremetal
524 524
     if [ "$VIRT_DRIVER" = "ironic" ] ; then
525 525
         iniset $TEMPEST_CONFIG baremetal driver_enabled True
526
-        iniset $TEMPEST_CONFIG baremetal unprovision_timeout 300
526
+        iniset $TEMPEST_CONFIG baremetal unprovision_timeout $BUILD_TIMEOUT
527
+        iniset $TEMPEST_CONFIG baremetal active_timeout $BUILD_TIMEOUT
527 528
         iniset $TEMPEST_CONFIG baremetal deploy_img_dir $FILES
528 529
         iniset $TEMPEST_CONFIG baremetal node_uuid $IRONIC_NODE_UUID
529 530
         iniset $TEMPEST_CONFIG compute-feature-enabled change_password False