Handle LB Conflict exceptions during service deletion
During service delete from kubernetes LB object is not getting deleted
as it has listener associated and Conflict exception raised . This
patch is to handle the Conflict exception as part of provisioning wait
Closes-Bug:
@@ -281,7 +281,7 @@ class LBaaSv2Driver(base.LBaaSDriver):
try:
delete(*args, **kwargs)
return
- except n_exc.StateInvalidClient:
+ except (n_exc.Conflict, n_exc.StateInvalidClient):
self._wait_for_provisioning(loadbalancer, remaining)
except n_exc.NotFound:
return
