summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nodepool/driver/openstack/handler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nodepool/driver/openstack/handler.py b/nodepool/driver/openstack/handler.py
index 16f426a..7e10684 100644
--- a/nodepool/driver/openstack/handler.py
+++ b/nodepool/driver/openstack/handler.py
@@ -241,6 +241,10 @@ class OpenStackNodeLauncher(NodeLauncher):
241 try: 241 try:
242 self._launchNode() 242 self._launchNode()
243 break 243 break
244 except openstack.exceptions.TaskManagerStopped:
245 # If we lost our TaskManager session, we won't be able to
246 # launch an instance, so there's no need to continue.
247 raise
244 except kze.SessionExpiredError: 248 except kze.SessionExpiredError:
245 # If we lost our ZooKeeper session, we've lost our node lock 249 # If we lost our ZooKeeper session, we've lost our node lock
246 # so there's no need to continue. 250 # so there's no need to continue.