Bump stack timeout to 15 minutes 19/64719/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 25 Oct 2017 14:18:30 +0000 (10:18 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 25 Oct 2017 14:18:32 +0000 (10:18 -0400)
Also lower stack retries to 2. This ensures that the overall timeout of
the job does not increase too. This is an attempt to workaround RS
potentially taking too long to spin up servers as a reason the nodes are
not coming online.

Let us see if a 15 minute timeout improves the situation any.

Change-Id: I2ed403aab37233b2e69022daf7e0f58dff8fc3c9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/opendaylight-infra-stack.sh

index 54f65e137cd66db04505c05df69cfba05b53bf32..edb3e40c9e7531d9043004b3cfd585d6db10a9c3 100644 (file)
@@ -22,8 +22,8 @@ cd /builder/openstack-hot || exit 1
 JOB_SUM=$(echo "$JOB_NAME" | sum | awk '{{ print $1 }}')
 VM_NAME="$JOB_SUM-$BUILD_NUMBER"
 
-OS_TIMEOUT=10  # Minutes to wait for OpenStack VM to come online
-STACK_RETRIES=3  # Number of times to retry creating a stack before fully giving up
+OS_TIMEOUT=15  # Minutes to wait for OpenStack VM to come online
+STACK_RETRIES=2  # Number of times to retry creating a stack before fully giving up
 STACK_SUCCESSFUL=false
 # seq X refers to waiting for X minutes for OpenStack to return
 # a status that is not CREATE_IN_PROGRESS before giving up.