From: David Galloway Date: Tue, 17 Jul 2018 20:32:53 +0000 (-0400) Subject: sepia-fog-images: Unpause queue and leave systems up X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1081%2Fhead;p=ceph-build.git sepia-fog-images: Unpause queue and leave systems up We don't need to mark the systems down. If there's something wrong with them, we'll find it during teuthology tests. I also forgot to unpause the queue in the event of a job failure so I've added that too. Signed-off-by: David Galloway --- diff --git a/sepia-fog-images/build/failure b/sepia-fog-images/build/failure index b9b5d166..ecf5d280 100755 --- a/sepia-fog-images/build/failure +++ b/sepia-fog-images/build/failure @@ -32,8 +32,6 @@ allhosts=$(teuthology-lock --brief | grep "Locked to capture FOG image for Jenki # Set DHCP server back to FOG for machine in $allhosts; do ssh ubuntu@store01.front.sepia.ceph.com "sudo /usr/local/sbin/set-next-server.sh $machine fog" - teuthology-lock --update --status down $machine - teuthology-lock --update --desc "Failed to capture FOG image: ${BUILD_URL}" $machine done # Restart dhcpd (for some reason doing this every time we set the next-server in the for loop above, dhcpd would fail to start) @@ -53,3 +51,8 @@ set +e for host in $allhosts; do teuthology-lock --unlock $host done + +# Unpause the queue +for type in $MACHINETYPES; do + teuthology-queue --pause 0 --machine_type $type +done