NSXv: LB pool delete failure while binding missing
When pool binding is missing, LBaaS call shouldn't fail, but
exit gracefully.
Change-Id: I6174880f38f8ebbe4def931053ee47880a89426c
(cherry picked from commit 9088cb2b31
)
This commit is contained in:
parent
d75ef535f7
commit
b1681aca9f
|
@ -131,6 +131,11 @@ class EdgePoolManager(base_mgr.EdgeLoadbalancerBaseManager):
|
|||
context.session, lb_id, pool.id)
|
||||
|
||||
edge_id = lb_binding['edge_id']
|
||||
if not pool_binding:
|
||||
self.lbv2_driver.pool.successful_completion(
|
||||
context, pool, delete=True)
|
||||
return
|
||||
|
||||
edge_pool_id = pool_binding['edge_pool_id']
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue