Use hostname for launch exception
By default, hostname contains informaiton about provider and node id, include this information to aid in debugging. Change-Id: I4ddd8a83a9f50d856f78c562d86a83da6d78c759 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
67824d8e64
commit
87b0f66353
@ -81,7 +81,8 @@ class NodeLauncher(threading.Thread,
|
||||
self.zk.storeNode(self.node)
|
||||
statsd_key = 'error.quota'
|
||||
except Exception as e:
|
||||
self.log.exception("Launch failed for node %s:", self.node.id)
|
||||
self.log.exception(
|
||||
"Launch failed for node %s:", self.node.hostname)
|
||||
self.node.state = zk.FAILED
|
||||
self.zk.storeNode(self.node)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user