commit b7fb963d91af8247c5624d7f1753d5969658b616
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)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/845550 /opendev. org/openstack/ neutron/ commit/ b7fb963d91af824 7c5624d7f1753d5 969658b616
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit b7fb963d91af824 7c5624d7f1753d5 969658b616
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri May 13 00:54:27 2022 +0000
Skip "PortBindingCha ssisEvent" if revision number changes
Since [1], the "external_ids" of the NB Logical_Router_Port register ids:revision_ number" is changed, we skip any update on the Router_ Port.
are copied into the SB Port_Binding "external_ids". When a change
in a Port_Binding register is received, if only the
"external_
related Logical_
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/functiona l/base. py
Closes-Bug: #1973347 50c42de0dfeb9bf 9b185d44bb7 7abcf365c3999cb 7379467b0c)
Change-Id: Ib51764778a6660
(cherry picked from commit 32e8303b3b21e04