Comment 15 for bug 2030773

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/892182
Committed: https://opendev.org/openstack/neutron/commit/8d45ee7f34f339c683c03f5391800b9848aaf11e
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 8d45ee7f34f339c683c03f5391800b9848aaf11e
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Aug 8 15:17:40 2023 +0100

    [OVN] ovn-db-sync check for router port differences

    Prior to this patch the ovn-db-sync script did not check if the router
    ports were actually out-of-sync before marking them to be updated. This
    behavior introduced irrelevant information in the sync report (specially
    when ran in "log" mode) making the user think that the databases were
    out-of-sync even when they were not.

    This patch adds the code checking for differences in the Neutron Router
    Ports and OVN Logical Router Port entries prior to updating them.

    NOTE FOR THIS BACKPORT:

    The lrp_get() method from ovsdbapp is not present for this stable
    branch, so this patch was adapted to use the get_lrouter_port()
    instead.

    Conflicts:
      neutron/tests/unit/fake_resources.py

    Change-Id: Id7bf5a6aa547795ba78724eed59ba9d4fb74f758
    Closes-Bug: #2030773
    Signed-off-by: Lucas Alvares Gomes <email address hidden>
    (cherry picked from commit 4693836a1b58b477298e51cb47622222e3556752)