Bug 1959906
| Summary: | External gateway fails to add duplicate OVN ECMP route | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tim Rozet <trozet> | |
| Component: | Networking | Assignee: | Tim Rozet <trozet> | |
| Networking sub component: | ovn-kubernetes | QA Contact: | Dan Brahaney <dbrahane> | |
| Status: | CLOSED ERRATA | Docs Contact: | ||
| Severity: | medium | |||
| Priority: | medium | CC: | aconstan, astoycos, dansmall, dblack, kholtz | |
| Version: | 4.6 | |||
| Target Milestone: | --- | |||
| Target Release: | 4.9.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1984978 (view as bug list) | Environment: | ||
| Last Closed: | 2021-10-18 17:31:04 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1959909 | |||
| Bug Blocks: | 1984978 | |||
*4.9 sorry Is there any known workaround for folks hitting this issue in 4.7.13 and unable to bump to a later version right now? Confirmed latest 4.8 builds contain OVN 20.12.0-140.el8fdp 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.9.0 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:3759 |
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