Merge "Fix logging of failed node launches"

This commit is contained in:
Zuul 2023-11-29 16:19:18 +00:00 committed by Gerrit Code Review
commit f39d2b955a
1 changed files with 4 additions and 3 deletions

View File

@ -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)