← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1948457] Re: [OVN] Logical router port must have at least one network

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/817525
Committed: https://opendev.org/openstack/neutron/commit/fa2179278f064f75e057f7020e4f0c34f358de1b
Submitter: "Zuul (22348)"
Branch:    master

commit fa2179278f064f75e057f7020e4f0c34f358de1b
Author: Arnau Verdaguer <averdagu@xxxxxxxxxx>
Date:   Wed Nov 17 16:59:28 2021 +0100

    [OVN] Prevent deleting the only IP of a router port
    
    Neutron allows deleting the only IP of a router port but
    the OVN NB DB doesn't, since it expects that the
    network value of a port is greater than 0. This should
    not be possible since it causes that the DB are not
    perfectly sync.
    
    It is needed to check BEFORE_UPDATE if the port
    that will be updated is of type router owned and
    if it will have an IP after the update. If not
    an error needs to be raised.
    
    Closes-Bug: #1948457
    Change-Id: I206c31201470f178efdde8839622be7900c6ae3e


** 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/1948457

Title:
  [OVN] Logical router port must have at least one network

Status in neutron:
  Fix Released

Bug description:
  When adding a LRP into the OVN NB DB, the minimum number of networks
  should be 1 [1].

  Error snippet: https://paste.opendev.org/show/810166/

  [1]https://github.com/ovn-
  org/ovn/blob/0ecc131512b153118260853f6fd494d6dead0dff/ovn-
  nb.ovsschema#L391-L393

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



References