]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Longer timeout after sync/reboot.
authorSandon Van Ness <sandon@inktank.com>
Thu, 12 Dec 2013 02:07:43 +0000 (18:07 -0800)
committerSandon Van Ness <sandon@inktank.com>
Thu, 12 Dec 2013 02:07:43 +0000 (18:07 -0800)
With only a 5 second sleep via ssh and python it looks like a
race-condition was sometimes hitting where it would think
the machine is back up before the reboot command had completed.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
teuthology/nuke.py

index 4bedd8af676f3ab026c7cc3f22dc7cc32af0775e..541f934b9482fdb1dcd0603e7ef4b45c5bee67af 100644 (file)
@@ -168,7 +168,7 @@ def reboot(ctx, remotes):
         # proc.exitstatus.get()
     if remotes:
         log.info('waiting for nodes to reboot')
-        time.sleep(5)  # if we try and reconnect too quickly, it succeeds!
+        time.sleep(8)  # if we try and reconnect too quickly, it succeeds!
         reconnect(ctx, 480)  # allow 8 minutes for the reboots