← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1992363] Re: [ovn-octavia-provider] Detach OVN-LB LS from the LR breaks OVN-LB connectivity

 

Reviewed:  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/860781
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/512b2c83b567eaecdfa2d96ecc1facc3723b4f55
Submitter: "Zuul (22348)"
Branch:    master

commit 512b2c83b567eaecdfa2d96ecc1facc3723b4f55
Author: Luis Tomas Bolivar <ltomasbo@xxxxxxxxxx>
Date:   Mon Oct 10 18:58:28 2022 +0200

    Ensure OVN-LB is properly configured upon LS removal from LR
    
    If an ovn-lb is created (VIP and members) in a LS (neutron network)
    that has 2 subnets (IPv4 + IPv6), and this LS is connected to a LR,
    removing the LS from the LR leads to the removal of the ovn-lb from
    the LS and consequently to remove it from the OVN SB DB as it is not
    associated to any datapath
    
    This is a problem on the _find_ls_for_lr function that looks for
    all the LR ports, and get the network name from them, therefore,
    even though the port for the LS got deleted, there is still another
    port from the other subnet pointing to the same network (LS), which
    is the culprit to delete the ovn-lb from that LS.
    
    With this patch, the VIP IP version is consider so that the router
    ports that belongs to the other subnet are not considered and the
    ovn-lb is not therefore removed from the LS.
    
    Closes-Bug: #1992363
    Change-Id: I7b6dd9a31020d942d391726662e9b5ed9d76dc1f


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1992363

Title:
  [ovn-octavia-provider] Detach OVN-LB LS from the LR breaks OVN-LB
  connectivity

Status in neutron:
  Fix Released

Bug description:
  If an OVN-LB is in a LS connected to a LR, upon removal of the LS from
  the LR the loadbalancer should be removed from the LR but should be
  kept at the LS, and still provide connectivity within that LS.

  However, this is not the case and the loadbalancer is also removed
  from the LS, leading to the removal of the LB from the OVN SB DB, and
  consequently beaking the connectivity as the flows for the LB are not
  installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1992363/+subscriptions



References