Correct logic error when associating FIP with OVN LB

Fixes a logic error which meant that we didn't iterate over all logical
switches when associating a FIP to an OVN loadbalancer. The symptom was
that the FIP would show in neutron, but would not exist in OVN.

Closes-Bug: #2068644
Change-Id: I6d1979dfb4d6f455ca419e64248087047fbf73d7
Co-Authored-By: Brian Haley <haleyb.dev@gmail.com>
(cherry picked from commit d8a4ad9167)
This commit is contained in:
Will Szumski 2024-06-10 13:44:14 +01:00 committed by Pierre Riteau
parent 948823b741
commit 1d68253f26
2 changed files with 6 additions and 1 deletions

View File

@ -989,7 +989,7 @@ class OVNClient(object):
if lb in item.load_balancer]
if not ls_linked:
return
continue
# Find out IP addresses and subnets of configured members.
members_to_verify = []

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes an issue when associating floating IPs to OVN load balancers. See `LP#2068644
<https://bugs.launchpad.net/neutron/+bug/2068644>`__ for more details.