Comment 18 for bug 1973347

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/845552
Committed: https://opendev.org/openstack/neutron/commit/ace772787e9d00608c30b2dd321469c1ced8318c
Submitter: "Zuul (22348)"
Branch: stable/xena

commit ace772787e9d00608c30b2dd321469c1ced8318c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri May 13 00:54:27 2022 +0000

    Skip "PortBindingChassisEvent" if revision number changes

    Since [1], the "external_ids" of the NB Logical_Router_Port register
    are copied into the SB Port_Binding "external_ids". When a change
    in a Port_Binding register is received, if only the
    "external_ids:revision_number" is changed, we skip any update on the
    related Logical_Router_Port.

    If not, that will lead to an infinite loop: Neutron will update
    the Logical_Router_Port with a new revision number and OVN will
    copy this new revision number to the SB register, triggering again
    the update of the NB Logical_Router_Port

    [1]https://<email address hidden>/msg62836.html

    Conflicts:
        neutron/tests/functional/base.py

    Closes-Bug: #1973347
    Change-Id: Ib51764778a666050c42de0dfeb9bf9b185d44bb7
    (cherry picked from commit 32e8303b3b21e047abcf365c3999cb7379467b0c)
    (cherry picked from commit b7fb963d91af8247c5624d7f1753d5969658b616)