← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1944708] Re: OVN does not update the network segment tag

 

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

commit 982c22dd46bb651c4c5c614262f1a9d68a96cd70
Author: Lucas Alvares Gomes <lucasagomes@xxxxxxxxx>
Date:   Thu Sep 23 16:04:00 2021 +0100

    [OVN] Fix updating network segmentation ID
    
    The ML2/OVN driver wasn't handling updates to the segmentation ID for a
    given network. This patch fixes this problem.
    
    This patch extends the _update_segmentation_id() method to check on
    drivers which does not inherits from AgentMechanismDriverBase, which
    is the case of OVN (which inherits from MechanismDriver). A new method
    is now called for those drivers to get a list of supported VIF types,
    called get_supported_vif_types().
    
    Closes-Bug: #1944708
    Change-Id: Ibe08bfbc2efc55b9d628cdd0605941b7486186b6
    Signed-off-by: Lucas Alvares Gomes <lucasagomes@xxxxxxxxx>


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

Title:
  OVN does not update the network segment tag

Status in neutron:
  Fix Released

Bug description:
  OVN does not update the network segment tag. For example:

  $ stack@central:~/devstack$ openstack network set --provider-segment 123 public
  $ stack@central:~/devstack$ sudo ovn-nbctl show 
  switch 85cb0ec1-c0af-4356-9069-9b8b49b0a9c8 (neutron-a25ddb65-fff0-4231-b2bd-32cec9220206) (aka public)
      port 0dde5ac4-d5cd-4390-9e8d-ed0acd1f23e7
          type: localport
          addresses: ["fa:16:3e:2e:c7:fd"]
      port provnet-83e1d5fe-dcd0-44fe-91be-f058cc36c8da
          type: localnet
          tag: 100
          addresses: ["unknown"]

  See "tag: 100" in the OVN NB database hasn't been updated. But it does
  update it in the Neutron database:

  stack@central:~/devstack$ openstack network show public | grep segmentation_id
  | provider:segmentation_id  | 123                                  |

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



References