Merge "Fix logging of failed node launches"
This commit is contained in:
commit
f39d2b955a
|
@ -95,10 +95,11 @@ class NodeLauncher(threading.Thread,
|
|||
statsd_key = 'error.quota'
|
||||
except Exception as e:
|
||||
self.log.exception(
|
||||
"Launch failed for node %s: tenant=%s label=%s",
|
||||
self.node.hostname,
|
||||
"Launch failed for node %s: tenant=%s label=%s hostname=%s",
|
||||
self.node.id,
|
||||
self.node.tenant_name,
|
||||
self.node.label)
|
||||
self.node.type,
|
||||
self.node.hostname)
|
||||
self.node.state = zk.FAILED
|
||||
self.zk.storeNode(self.node)
|
||||
|
||||
|
|
Loading…
Reference in New Issue