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:
parent
7618b714e2
commit
0dd290a99b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue