Skip to content

Commit 7e3bdcd

Browse files
jovialbrianphaley
authored andcommitted
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 <[email protected]> (cherry picked from commit d8a4ad9)
1 parent 19ab990 commit 7e3bdcd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/ovn_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ def _handle_lb_fip_cmds(self, context, lb_lsp,
10631063
if lb in item.load_balancer]
10641064

10651065
if not ls_linked:
1066-
return
1066+
continue
10671067

10681068
# Find out IP addresses and subnets of configured members.
10691069
members_to_verify = []
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue when associating floating IPs to OVN load balancers. See `LP#2068644
5+
<https://bugs.launchpad.net/neutron/+bug/2068644>`__ for more details.

0 commit comments

Comments
 (0)