← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2006734] Re: [OVN] OVN trunk driver is not bumping the OVN LSP "external_ids:revision_number"

 

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

commit fce516e3461054716ff2d4623c240d3e006acbeb
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Thu Feb 9 16:36:14 2023 +0100

    [OVN] Bump the port revision number in trunk driver
    
    When the subport binding information is updated in the OVN trunk
    driver, the OVN revision number should be updated too, same as
    in other ``ovn_client`` method, for example.
    
    Closes-Bug: #2006734
    Change-Id: Icda34910ea7fe308814e0cc60999b465d3540b67


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

Title:
  [OVN] OVN trunk driver is not bumping the OVN LSP
  "external_ids:revision_number"

Status in neutron:
  Fix Released

Bug description:
  The OVN trunk driver is not bumping the OVN LSP
  "external_ids:revision_number" after updating the Neutron DB register.
  The methods ``OVNTrunkHandler._set_binding_profile`` and
  ``OVNTrunkHandler._unset_binding_profile`` are called from
  ``_set_sub_ports`` and ``_unset_sub_ports`` respectively. These
  methods create a Neutron DB and a OVN DB transactions in the same with
  clause. Inside both transactions, the port register (Neutron DB and
  OVN DB) is modified. However, the OVN register revision_number is not
  bumped consequently. That forces the maintenance task to review the
  OVN register and force an update.

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



References