-
Bug
-
Resolution: Done
-
Major
-
4.19.z, 4.20.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
No
-
None
-
Rejected
-
CORENET Sprint 275, CORENET Sprint 276
-
2
-
Done
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-56506. The following is the description of the original issue:
—
Description of problem:
There is a incompatibility with route handling of BGP advertised UDN network host subnets.
For example, two UDN L3 networks netA (10.165.0.0/16) and netB (10.166.0.0/16) are created.
node-1 and node-2 are assigned with host subnets as like below.
node-1: net-A 10.165.1.0/24 net-B 10.166.1.0/24 node-2: net-A 10.165.2.0/24 net-B 10.166.2.0/24
The ovnkube-node pod on each node learns remote routes, imports into its FRR instance and corresponding ip route rules are created.
node-1: 10.165.2.0/24 nhid 57 via 172.18.0.3 dev breth0 proto bgp metric 20 10.166.2.0/24 nhid 57 via 172.18.0.3 dev breth0 proto bgp metric 20 node-2: 10.165.1.0/24 nhid 54 via 172.18.0.2 dev breth0 proto bgp metric 20 10.166.1.0/24 nhid 54 via 172.18.0.2 dev breth0 proto bgp metric 20
The correct behavior would be avoid importing these routes into FRR so that inter UDN traffic egress into provider network by default, it provides flexibility for provider network to define routing rules among these networks.
The host subnets assigned on the same node is not imported, so pod-pod traffic on netA and netB networks within same node egressing into provider network. so we need similar behavior for remote routes as well.
Slack discussion: https://redhat-internal.slack.com/archives/C07AT0XP4J0/p1747667324516379
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Please fill in the following template while reporting a bug and provide as much relevant information as possible. Doing so will give us the best chance to find a prompt resolution.
Affected Platforms:
Is it an
- internal CI failure
- customer issue / SD
- internal RedHat testing failure
If it is an internal RedHat testing failure:
- Please share a kubeconfig or creds to a live cluster for the assignee to debug/troubleshoot along with reproducer steps (specially if it's a telco use case like ICNI, secondary bridges or BM+kubevirt).
If it is a CI failure:
- Did it happen in different CI lanes? If so please provide links to multiple failures with the same error instance
- Did it happen in both sdn and ovn jobs? If so please provide links to multiple failures with the same error instance
- Did it happen in other platforms (e.g. aws, azure, gcp, baremetal etc) ? If so please provide links to multiple failures with the same error instance
- When did the failure start happening? Please provide the UTC timestamp of the networking outage window from a sample failure run
- If it's a connectivity issue,
- What is the srcNode, srcIP and srcNamespace and srcPodName?
- What is the dstNode, dstIP and dstNamespace and dstPodName?
- What is the traffic path? (examples: pod2pod? pod2external?, pod2svc? pod2Node? etc)
If it is a customer / SD issue:
- Provide enough information in the bug description that Engineering doesn’t need to read the entire case history.
- Don’t presume that Engineering has access to Salesforce.
- Do presume that Engineering will access attachments through supportshell.
- Describe what each relevant attachment is intended to demonstrate (failed pods, log errors, OVS issues, etc).
- Referring to the attached must-gather, sosreport or other attachment, please provide the following details:
- If the issue is in a customer namespace then provide a namespace inspect.
- If it is a connectivity issue:
- What is the srcNode, srcNamespace, srcPodName and srcPodIP?
- What is the dstNode, dstNamespace, dstPodName and dstPodIP?
- What is the traffic path? (examples: pod2pod? pod2external?, pod2svc? pod2Node? etc)
- Please provide the UTC timestamp networking outage window from must-gather
- Please provide tcpdump pcaps taken during the outage filtered based on the above provided src/dst IPs
- If it is not a connectivity issue:
- Describe the steps taken so far to analyze the logs from networking components (cluster-network-operator, OVNK, SDN, openvswitch, ovs-configure etc) and the actual component where the issue was seen based on the attached must-gather. Please attach snippets of relevant logs around the window when problem has happened if any.
- When showing the results from commands, include the entire command in the output.
- For OCPBUGS in which the issue has been identified, label with “sbr-triaged”
- For OCPBUGS in which the issue has not been identified and needs Engineering help for root cause, label with “sbr-untriaged”
- Do not set the priority, that is owned by Engineering and will be set when the bug is evaluated
- Note: bugs that do not meet these minimum standards will be closed with label “SDN-Jira-template”
- For guidance on using this template please see
OCPBUGS Template Training for Networking components
- clones
-
OCPBUGS-56506 Avoid importing BGP routes for advertised UDN network host subnet
-
- Verified
-
- is blocked by
-
OCPBUGS-56506 Avoid importing BGP routes for advertised UDN network host subnet
-
- Verified
-
- links to