From 762cac7d32e034b325e3e78834303aa497cbfca9 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Mon, 11 Nov 2019 10:41:39 -0500 Subject: [PATCH] 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 --- sepia-fog-images/build/build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.47.3