Log connection port in static driver on timeout
When there is a timeout checking a static node we also should log the connection-port. Change-Id: I7e6291e18d6fc714d593b538a47b6849c9a99c0f
This commit is contained in:
parent
483e51ed82
commit
07d1cdc2d4
@ -43,7 +43,8 @@ class StaticNodeProvider(Provider):
|
|||||||
timeout=node["timeout"])
|
timeout=node["timeout"])
|
||||||
except exceptions.ConnectionTimeoutException:
|
except exceptions.ConnectionTimeoutException:
|
||||||
raise StaticNodeError(
|
raise StaticNodeError(
|
||||||
"%s: ConnectionTimeoutException" % node["name"])
|
"%s:%s: ConnectionTimeoutException" % (
|
||||||
|
node["name"], node["connection-port"]))
|
||||||
|
|
||||||
# Check node host-key
|
# Check node host-key
|
||||||
if set(node["host-key"]).issubset(set(keys)):
|
if set(node["host-key"]).issubset(set(keys)):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user