Bug 1984978 - [4.8z] External gateway fails to add duplicate OVN ECMP route
Summary: [4.8z] External gateway fails to add duplicate OVN ECMP route
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.z
Assignee: Tim Rozet
QA Contact: Dan Brahaney
URL:
Whiteboard:
Depends On: 1959906 1959909
Blocks: 1991445
TreeView+ depends on / blocked
 
Reported: 2021-07-22 15:05 UTC by Tim Rozet
Modified: 2021-08-10 11:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1959906
Environment:
Last Closed: 2021-08-10 11:28:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 591 0 None open [release-4.8] Bug 1976644: Bump OVN to 20.12.0-140.el8fdp 2021-08-26 13:46:09 UTC
Red Hat Product Errata RHSA-2021:2983 0 None None None 2021-08-10 11:29:27 UTC

Description Tim Rozet 2021-07-22 15:05:09 UTC
+++ This bug was initially created as a clone of Bug #1959906 +++

Description of problem:
Adding logical port may fail with:

2021-05-07T20:04:31.323426314Z stderr F I0507 20:04:31.323357      35 event.go:282] Event(v1.ObjectReference{Kind:"Pod", Namespace:"default", Name:"e2e-gateway-pod", UID:"764b0bc2-17d4-41ed-87bc-e9765aef8f8b", APIVersion:"v1", ResourceVersion:"9601", FieldPath:""}): type: 'Warning' reason: 'ErrorAddingLogicalPort' failed to handle external GW check: unable to add src-ip route to GR router, stderr:"ovn-nbctl: duplicate nexthop for the same ECMP route\n", err:OVN command '/usr/bin/ovn-nbctl --timeout=15 --may-exist --policy=src-ip --ecmp-symmetric-reply lr-route-add GR_ovn-worker2 10.244.0.15/32 172.18.0.5'

if an entry already exists. OVN should handle the case where the same entry exists and not error.

Note this was mentioned in the QE coverage of:
https://bugzilla.redhat.com/show_bug.cgi?id=1916842#c1

--- Additional comment from OpenShift Automated Release Tooling on 2021-06-18 17:53:24 UTC ---

Elliott changed bug status from MODIFIED to ON_QA.

--- Additional comment from Anurag saxena on 2021-06-21 21:11:03 UTC ---

@dbrahane Can you help confirming if OVN version is 20.12.0-140.el8fdp on latest 4.8?

--- Additional comment from Anurag saxena on 2021-06-21 21:11:21 UTC ---

*4.9 sorry

--- Additional comment from Ken Holtz on 2021-06-30 11:54:20 UTC ---

Is there any known workaround for folks hitting this issue in 4.7.13 and unable to bump to a later version right now?

--- Additional comment from Dan Brahaney on 2021-07-22 14:14:08 UTC ---

Confirmed latest 4.8 builds contain OVN 20.12.0-140.el8fdp

Comment 3 Dan Brahaney 2021-08-05 14:06:32 UTC
Confirmed latest nightly build 4.6 contain OVN 20.12.0-140.el8fdp

Comment 5 errata-xmlrpc 2021-08-10 11:28:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.4 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2983


Note You need to log in before you can comment on or make changes to this bug.