Remove reference to TaskManagerStopped exception

The TaskManagerStopped exception will never be thrown anymore
by openstacksdk, since there is no TaskManager to be stopped.
Stop accounting for it in the code.

Change-Id: Idbdffa9ce945e41044c8eaf01cc582fca2114e6e
This commit is contained in:
Monty Taylor 2019-04-02 12:12:59 +00:00
parent 7618b714e2
commit 0dd290a99b
1 changed files with 0 additions and 4 deletions

View File

@ -241,10 +241,6 @@ class OpenStackNodeLauncher(NodeLauncher):
try:
self._launchNode()
break
except openstack.exceptions.TaskManagerStopped:
# If we lost our TaskManager session, we won't be able to
# launch an instance, so there's no need to continue.
raise
except kze.SessionExpiredError:
# If we lost our ZooKeeper session, we've lost our node lock
# so there's no need to continue.