Reviewed: https://review.opendev.org/c/openstack/neutron/+/830509 Committed: https://opendev.org/openstack/neutron/commit/b2421b01e5bc1269458b421643c13b620cdaccaf Submitter: "Zuul (22348)" Branch: master
commit b2421b01e5bc1269458b421643c13b620cdaccaf Author: Elvira García <[email protected]> Date: Tue Feb 22 18:56:55 2022 +0100 [OVN] Handle RouterNotFound exception in set_gateway_mtu When handling multiple router update/delete petitions, if they are executed at the same time, there is a chance that the set_gateway_mtu tries to update a no-longer-existing router, triggering a RouterNotFound error from the _get_router_ports function. Now, if there is not a router, the _get_router_ports function will return an empty list instead of raising the error. Closes-Bug: #1961967 Signed-off-by: Elvira García <[email protected]> Change-Id: Ic54214ca4965274cd58c1d3a278d8f3ffcda0a64 ** 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/1961967 Title: [OVN] Neutron requests answered with RouterNotFound Status in neutron: Fix Released Bug description: A recently merged patch [0] has introduced a race condition when creating or updating an OVN Logical Router Port. If the mtu is changed on an external network, the set_gateway_mtu function will look to update all related logical router ports. There is a small chance in this operation that one of those routers got deleted along the way. This raises a RouterNotFound error and fails. More info and testing details available on this Bugzilla [1] [0] https://review.opendev.org/c/openstack/neutron/+/818443 [1] https://bugzilla.redhat.com/show_bug.cgi?id=2055171 Fix proposed: https://review.opendev.org/c/openstack/neutron/+/830509 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1961967/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

