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>
This commit is contained in:
Will Szumski 2024-06-10 13:44:14 +01:00 committed by Ihar Hrachyshka
parent ebed620aaf
commit d8a4ad9167
2 changed files with 6 additions and 1 deletions

View File

@ -972,7 +972,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.