Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44820

[pre-merge][BGP] pod cannot access outside internet

XMLWordPrintable

    • Critical
    • None
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      with clusterbot build 4.18,openshift/cluster-network-operator#2442,openshift/ovn-kubernetes#2239

      and enable the routeAdvertisements feature in featuregate and CNO

      Pod cannot access outside

       

      # oc rsh -n z1 test-rc-wfgm6
      ~ $ ping 8.8.8.8
      PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
      ^C 

       

       

       

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:

      1.  Create FRRConfiguration and RouteAdvertisements

      # oc get RouteAdvertisements default -o yaml
      apiVersion: k8s.ovn.org/v1
      kind: RouteAdvertisements
      metadata:
        creationTimestamp: "2024-11-21T06:25:52Z"
        generation: 1
        name: default
        resourceVersion: "402886"
        uid: 12aad158-d76d-4f5e-9776-6bbba1e94b4d
      spec:
        advertisements:
          egressIP: true
          podNetwork: true
      status:
        conditions:
        - lastTransitionTime: "2024-11-21T06:26:09Z"
          message: ovn-kubernetes cluster-manager validated the resource and requested the
            necessary configuration changes
          observedGeneration: 1
          reason: Accepted
          status: "True"
          type: Accepted
        status: Accepted
       
      
      
      [core@worker-1 ~]$ ip route | grep bgp
      10.128.0.0/23 nhid 40 via 192.168.111.20 dev br-ex proto bgp metric 20 
      10.128.2.0/23 nhid 43 via 192.168.111.23 dev br-ex proto bgp metric 20 
      10.129.0.0/23 nhid 41 via 192.168.111.21 dev br-ex proto bgp metric 20 
      10.130.0.0/23 nhid 42 via 192.168.111.22 dev br-ex proto bgp metric 20 
      10.131.0.0/23 nhid 44 via 192.168.111.25 dev br-ex proto bgp metric 20 
      192.168.111.85 nhid 43 via 192.168.111.23 dev br-ex proto bgp metric 20 
      192.168.111.100 nhid 43 via 192.168.111.23 dev br-ex proto bgp metric 20 

      2.  Create pod and access outside

      # oc rsh -n z1 test-rc-wfgm6 ~ $ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. ^C  

      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

      1. internal CI failure
      2. customer issue / SD
      3. 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

              jcaamano@redhat.com Jaime Caamaño Ruiz
              zzhao1@redhat.com Zhanqi Zhao
              Zhanqi Zhao Zhanqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: