From a7f87f3a3aba57dcb6de88c4ad70e3a933ea6067 Mon Sep 17 00:00:00 2001 From: Sandon Van Ness Date: Wed, 11 Dec 2013 18:07:43 -0800 Subject: [PATCH] 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 --- teuthology/nuke.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 4bedd8af676..541f934b948 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 -- 2.47.3