-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.14.z
-
Moderate
-
No
-
False
-
Description of problem:
When configuring the CR AdminPolicyBasedExternalRoute for a specific project, everything gets created accordingly on the DBs, however when we delete the pod or recreate pods on that project where the AdminPolicyBasedExternalRoute applies, the static routes get deleted from the respective gateway routers but never get recreated.
The only way to solve is to either recreate the AdminPolicyBasedExternalRoute or delete the ovnkube-node pods on the nodes where application pods are running.
Version-Release number of selected component (if applicable):
OCP 4.14.12
How reproducible:
Everytime
Steps to Reproduce:
1. Create a simple AdminPolicyBasedExternalRoute (static or dynamic doesn't matter) for a project with some pods running
2. Confirm on the respective ovnkube-node pods that static routes were created on the gateway router
3. Delete the pods and recheck the OVN DBs and static routes are not present anymore.
4. Check the AdminPolicyBasedExternalRoute and it status is still showing "Success"
Expected results:
OVN should be able to recheck this and recreate the static routes when new pods logical ports are created.
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.
- Please provide must-gather and sos-report with an exact link to the comment in the support case with the attachment. The format should be: https://access.redhat.com/support/cases/#/case/<case number>/discussion?attachmentId=<attachment id>
- Describe what each 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.
- 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, labels with “sbr-untriaged”
- Note: bugs that do not meet these minimum standards will be closed with label “SDN-Jira-template”
- is duplicated by
-
OCPBUGS-29342 AdminPolicyBasedExternalRoute CRD failing to watch and reconcile routes for later pods
- Closed