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

[BGP] Default network pod2pod on different nodes is not working for multi-network cluster

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      pod2pod on differnet nodes with different subnet cannot be accessed after advertised for default network 

      For multi-network cluster :

        spec:
          clusterNetwork:
          - cidr: 20.128.0.0/21
            hostPrefix: 23
          - cidr: 10.128.0.0/14
            hostPrefix: 23

       

      1. oc get pod -n z1 -o wide
        NAME            READY   STATUS    RESTARTS   AGE    IP            NODE                                 NOMINATED NODE   READINESS GATES
        test-rc-8xwcp   1/1     Running   0          174m   10.129.0.16   worker-2                             <none>           <none>
        test-rc-kz972   1/1     Running   0          174m   20.128.6.39    worker-1

       

      ~ $oc rsh -n z1 test-rc-kz972 curl --max-time 2 10.129.0.16:8080
      curl: (28) Connection timed out after 2001 milliseconds

       

      the reason is there is drop ACL deny that

       

      _uuid               : 6c0f5ff2-f7d8-4ab2-bbe3-a054df016cf6
      action              : drop
      direction           : from-lport
      external_ids        : {"k8s.ovn.org/id"="default-network-controller:AdvertisedNetwork:advertised-network-subnets:", "k8s.ovn.org/name"=advertised-network-subnets, "k8s.ovn.org/owner-controller"=default-network-controller, "k8s.ovn.org/owner-type"=AdvertisedNetwork, network=""}
      label               : 0
      log                 : false
      match               : "(ip4.src == $a10109792604843350142 && ip4.dst == $a10109792604843350142) || (ip6.src == $a10109790405820093720 && ip6.dst == $a10109790405820093720)"
      meter               : acl-logging
      name                : []
      options             : {apply-after-lb="true"}
      priority            : 1050
      sample_est          : []
      sample_new          : [] 

       

       

       

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

      How reproducible:

      Steps to Reproduce:

      1.  Setup cluster with multi-network

        spec:
          clusterNetwork:
          - cidr: 20.128.0.0/21
            hostPrefix: 23
          - cidr: 10.128.0.0/14
            hostPrefix: 23

      2.  Create two pods make them on different nodes have different subnet

      3.   podA curl podB can be worked before advertised BGP

      4. After advertised BGP for default network,  podA cannot accessed podB

      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

              sdn-team-bot sdn-team bot
              zzhao1@redhat.com Zhanqi Zhao
              None
              None
              Zhanqi Zhao Zhanqi Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: