Merge lp:~nuclearbob/utah/ssh-stacktrace into lp:utah
Status: | Merged |
---|---|
Merged at revision: | 987 |
Proposed branch: | lp:~nuclearbob/utah/ssh-stacktrace |
Merge into: | lp:utah |
Diff against target: |
90 lines (+12/-0) 1 file modified
utah/provisioning/ssh.py (+12/-0) |
To merge this branch: | bzr merge lp:~nuclearbob/utah/ssh-stacktrace |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andy Doan (community) | Approve | ||
Review via email: mp+178777@code.launchpad.net |
Description of the change
I added stacktrace logging for external failures for ssh connections. When I run this command to connect to a machine that doesn't exist:
PYTHONPATH=. ./examples/
I get this:
2013-08-06 10:52:01,780 ssh INFO: Checking for ssh availability
2013-08-06 10:52:01,781 ssh DEBUG: Traceback (most recent call last):
File "/home/
key_
File "/usr/lib/
for (family, socktype, proto, canonname, sockaddr) in socket.
gaierror: [Errno -2] Name or service not known
2013-08-06 10:52:01,781 ssh DEBUG: Caught [Errno -2] Name or service not known, retrying sshcheck() in 3 seconds