aboutsummaryrefslogtreecommitdiff
path: root/rumba/ssh_support.py
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-09-20 14:01:12 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-09-20 14:01:12 +0200
commit9f32eb4563cccd6ab3b5d58370e675b79066bf9d (patch)
tree796e2ee86b9aad870fb659d36d066eb3311556c8 /rumba/ssh_support.py
parent0d6eec1b021ac90f59e895f193b9813211bc9930 (diff)
downloadrumba-9f32eb4563cccd6ab3b5d58370e675b79066bf9d.tar.gz
rumba-9f32eb4563cccd6ab3b5d58370e675b79066bf9d.zip
testbeds: qemu: Remove unneeded sleep
This removes a sleep in the QEMU testbed that was giving errors. It also catches another error in the SSH support.
Diffstat (limited to 'rumba/ssh_support.py')
-rw-r--r--rumba/ssh_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py
index 8b07c13..9c24890 100644
--- a/rumba/ssh_support.py
+++ b/rumba/ssh_support.py
@@ -67,7 +67,7 @@ def ssh_connect(ssh_client, hostname, port, username, password, time_out,
ssh_client.connect(hostname, port, username, password,
look_for_keys=True, timeout=time_out, sock=proxy)
return
- except paramiko.ssh_exception.SSHException:
+ except (paramiko.ssh_exception.SSHException, EOFError):
retry += 1
logger.error('Failed to connect to host, retrying: ' +
str(retry) + '/' + str(max_retries) + ' retries')