From: Sandon Van Ness Date: Thu, 12 Dec 2013 02:07:43 +0000 (-0800) Subject: Longer timeout after sync/reboot. X-Git-Tag: 1.1.0~1744 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a7f87f3a3aba57dcb6de88c4ad70e3a933ea6067;p=teuthology.git Longer timeout after sync/reboot. 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 --- diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 4bedd8af6..541f934b9 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -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