Skip to content

Commit e7a0ae9

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 a956817 commit e7a0ae9

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
@@ -974,7 +974,7 @@ def _handle_lb_fip_cmds(self, context, lb_lsp,
974974
if lb in item.load_balancer]
975975

976976
if not ls_linked:
977-
return
977+
continue
978978

979979
# Find out IP addresses and subnets of configured members.
980980
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)