summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-12-01 03:51:02 +0000
committerGerrit Code Review <review@openstack.org>2018-12-01 03:51:02 +0000
commitb53f52653bb85c44535fbb10bff975e36f2a42b7 (patch)
tree374a93a7f5730345a78cca5fe1e31c8cbeb71036
parent9758a4be444d19c0e53985a97886a5fd64744da1 (diff)
parentbd10ff9540ba61c1c62e0ded88e24da9b2b5a7cd (diff)
Merge "Log exceptions deleting ZK nodes"
-rwxr-xr-xnodepool/launcher.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/nodepool/launcher.py b/nodepool/launcher.py
index dd59160..883a962 100755
--- a/nodepool/launcher.py
+++ b/nodepool/launcher.py
@@ -106,7 +106,11 @@ class NodeDeleter(threading.Thread):
106 else: 106 else:
107 node_exists = True 107 node_exists = True
108 108
109 self.delete(self._zk, self._provider_manager, self._node, node_exists) 109 try:
110 self.delete(self._zk, self._provider_manager,
111 self._node, node_exists)
112 except Exception:
113 self.log.exception("Error deleting node %s:", self._node)
110 114
111 115
112class PoolWorker(threading.Thread, stats.StatsReporter): 116class PoolWorker(threading.Thread, stats.StatsReporter):