]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
sepia-fog-images: Unpause queue and leave systems up 1081/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 17 Jul 2018 20:32:53 +0000 (16:32 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 17 Jul 2018 20:32:53 +0000 (16:32 -0400)
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 <dgallowa@redhat.com>
sepia-fog-images/build/failure

index b9b5d166bc17284ab6f846b1c79779e9295dcc40..ecf5d2802cae78ff2005210cce56fa035526d84d 100755 (executable)
@@ -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