From 6899e19dfc8855c6a37812bf53d7970b9e9f1366 Mon Sep 17 00:00:00 2001 From: Tobias Henkel Date: Wed, 23 Jan 2019 12:59:59 +0100 Subject: [PATCH] Improve connection timeout log message The log message doesn't contain the target ip address which can be crucial. Change-Id: Iff674a56267f416114b6bfd6203f3ac76bb5d569 --- nodepool/nodeutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodepool/nodeutils.py b/nodepool/nodeutils.py index d85cdcea4..482dde67e 100755 --- a/nodepool/nodeutils.py +++ b/nodepool/nodeutils.py @@ -77,7 +77,7 @@ def nodescan(ip, port=22, timeout=60, gather_hostkeys=True): key = None for count in iterate_timeout( timeout, exceptions.ConnectionTimeoutException, - "connection on port %s" % port): + "connection to %s on port %s" % (ip, port)): sock = None t = None try: