]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
sepia-fog-images: Wait longer for lab to quiet down 1434/head
authorDavid Galloway <dgallowa@redhat.com>
Mon, 11 Nov 2019 15:41:39 +0000 (10:41 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 11 Nov 2019 15:41:39 +0000 (10:41 -0500)
30min wasn't enough for jobs to stop scheduling Deploy tasks.

Signed-off-by: David Galloway <dgallowa@redhat.com>
sepia-fog-images/build/build

index dd66da72a833388e987d732061e519e3004b6e08..4d13f8229657541e8c442d2c149998e7786bd09a 100755 (executable)
@@ -189,8 +189,8 @@ if [ "$PAUSEQUEUE" == "true" ]; then
   # Capturing a new OS image can interrupt active OS deployments.
   if [ $deploytasks -gt 0 ]; then
     for type in $MACHINETYPES; do
-      # Only pause the queue for 20 minutes just in case anything goes wrong with the Jenkins job.
-      teuthology-queue --pause 1200 --machine_type $type
+      # Only pause the queue for 1hr just in case anything goes wrong with the Jenkins job.
+      teuthology-queue --pause 3600 --machine_type $type
     done
     pausedqueue=true
     currentretries=0
@@ -199,8 +199,8 @@ if [ "$PAUSEQUEUE" == "true" ]; then
       sleep 10
       deploytasks=$(curl -f -s -k -H "fog-api-token: ${FOG_API_TOKEN}" -H "fog-user-token: ${FOG_USER_TOKEN}" http://fog.front.sepia.ceph.com/fog/task/active -d '{"typeID": "'${fogdeployid}'"}' -X GET | jq -r '.count')
       ((++currentretries))
-      # Retry for 30min
-      funRetry $currentretries 180
+      # Retry for 1hr
+      funRetry $currentretries 360
     done
   fi
 else