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>
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.