From: David Galloway Date: Mon, 11 Nov 2019 15:41:39 +0000 (-0500) Subject: sepia-fog-images: Wait longer for lab to quiet down X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=762cac7d32e034b325e3e78834303aa497cbfca9;p=ceph-build.git sepia-fog-images: Wait longer for lab to quiet down 30min wasn't enough for jobs to stop scheduling Deploy tasks. Signed-off-by: David Galloway --- diff --git a/sepia-fog-images/build/build b/sepia-fog-images/build/build index dd66da72..4d13f822 100755 --- a/sepia-fog-images/build/build +++ b/sepia-fog-images/build/build @@ -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