yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89501
[Bug 1955578] Re: OVN transaction could not be completed due to a race condition
Reviewed: https://review.opendev.org/c/openstack/neutron/+/821401
Committed: https://opendev.org/openstack/neutron/commit/8c482b83f2cf6f5495f4df2e5698595db704798d
Submitter: "Zuul (22348)"
Branch: master
commit 8c482b83f2cf6f5495f4df2e5698595db704798d
Author: Arnau Verdaguer <averdagu@xxxxxxxxxx>
Date: Thu Dec 16 21:53:27 2021 +0100
[ovn] Specify port type if it's a router port when updating
In order to avoid multiple LogicalSwitchPortUpdateUpEvent and
LogicalSwitchPortUpdateDownEvent is mandatory to specify the
router port type when udpating the port.
If the port is not specified when updating the port, the
transactions will trigger a modification on the ovnnb db
that will set the port status to down[0]. Triggering an unnecessary
DownEvent followed by another UpEvent. Those unnecessary event
most likely will trigger a revision conflict.
[0] - https://github.com/ovn-org/ovn/blob/
4f93381d7d38aa21f56fb3ff4ec00490fca12614/northd/northd.c#L15604
Closes-Bug: #1955578
Change-Id: I296003a936db16dd3a7d184ec44908fb3f261876
** 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/1955578
Title:
OVN transaction could not be completed due to a race condition
Status in neutron:
Fix Released
Bug description:
When executing the test "test_connectivity_through_2_routers" it is highly possible to have
a race condition:
networking_ovn.common.exceptions.RevisionConflict: OVN revision number
for {PORT_ID} (type: ports) is equal or higher than the given
resource. Skipping update.
Bugzilla reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1860448
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1955578/+subscriptions
References