summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw.de>2019-01-23 12:59:59 +0100
committerTobias Henkel <tobias.henkel@bmw.de>2019-01-23 12:59:59 +0100
commit6899e19dfc8855c6a37812bf53d7970b9e9f1366 (patch)
tree507f91082f10948cd11692c3f3de94353588a55a
parentbf5a206c0889b8d71214ca6702575d60695f3d79 (diff)
Improve connection timeout log message
The log message doesn't contain the target ip address which can be crucial. Change-Id: Iff674a56267f416114b6bfd6203f3ac76bb5d569
Notes
Notes (review): Code-Review+2: David Shrewsbury <dshrewsb@redhat.com> Code-Review+2: Clint 'SpamapS' Byrum <clint@fewbar.com> Workflow+1: Clint 'SpamapS' Byrum <clint@fewbar.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 04 Feb 2019 18:35:22 +0000 Reviewed-on: https://review.openstack.org/632704 Project: openstack-infra/nodepool Branch: refs/heads/master
-rwxr-xr-xnodepool/nodeutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nodepool/nodeutils.py b/nodepool/nodeutils.py
index d85cdce..482dde6 100755
--- a/nodepool/nodeutils.py
+++ b/nodepool/nodeutils.py
@@ -77,7 +77,7 @@ def nodescan(ip, port=22, timeout=60, gather_hostkeys=True):
77 key = None 77 key = None
78 for count in iterate_timeout( 78 for count in iterate_timeout(
79 timeout, exceptions.ConnectionTimeoutException, 79 timeout, exceptions.ConnectionTimeoutException,
80 "connection on port %s" % port): 80 "connection to %s on port %s" % (ip, port)):
81 sock = None 81 sock = None
82 t = None 82 t = None
83 try: 83 try: