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

The host subnet static route for src-ip will be removed after ovnkube pod restarted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.14.z, 4.15.z, 4.17.z, 4.16.z
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      the static route for each host subnet will be removed after ovnkube pod restarted

       10.128.2.0/23                100.64.0.6 src-ip

       

      **********Before restart ovnkube pod******************

      ovnkube-node-pt62v
      Defaulted container "ovn-controller" out of: ovn-controller, ovn-acl-logging, kube-rbac-proxy-node, kube-rbac-proxy-ovn-metrics, northd, nbdb, sbdb, ovnkube-controller, drop-icmp, kubecfg-setup (init)
      IPv4 Routes
      Route Table <main>:
                     100.64.0.2                100.88.0.2 dst-ip
                     100.64.0.3                100.88.0.3 dst-ip
                     100.64.0.4                100.88.0.4 dst-ip
                     100.64.0.5                100.88.0.5 dst-ip
                     100.64.0.6                100.64.0.6 dst-ip
                     100.64.0.7                100.88.0.7 dst-ip
                  10.128.0.0/23                100.88.0.2 dst-ip
                  10.129.0.0/23                100.88.0.3 dst-ip
                  10.129.2.0/23                100.88.0.7 dst-ip
                  10.130.0.0/23                100.88.0.4 dst-ip
                  10.131.0.0/23                100.88.0.5 dst-ip
                  10.128.2.0/23                100.64.0.6 src-ip
                  10.128.0.0/14                100.64.0.6 src-ip

       

      ***********after recreated ovnkube pod*************

       

      ovnkube-node-qkspb
      Defaulted container "ovn-controller" out of: ovn-controller, ovn-acl-logging, kube-rbac-proxy-node, kube-rbac-proxy-ovn-metrics, northd, nbdb, sbdb, ovnkube-controller, drop-icmp, kubecfg-setup (init)
      IPv4 Routes
      Route Table <main>:
                     100.64.0.2                100.88.0.2 dst-ip
                     100.64.0.3                100.88.0.3 dst-ip
                     100.64.0.4                100.88.0.4 dst-ip
                     100.64.0.5                100.88.0.5 dst-ip
                     100.64.0.6                100.64.0.6 dst-ip
                     100.64.0.7                100.88.0.7 dst-ip
                  10.128.0.0/23                100.88.0.2 dst-ip
                  10.129.0.0/23                100.88.0.3 dst-ip
                  10.129.2.0/23                100.88.0.7 dst-ip
                  10.130.0.0/23                100.88.0.4 dst-ip
                  10.131.0.0/23                100.88.0.5 dst-ip
                  10.128.0.0/14                100.64.0.6 src-ip

       

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

      How reproducible:

      Steps to Reproduce:

      1. setup cluster with ovn-k plugin

      2. check one of static route by rsh ovnkube pod

      ovn-nbctl lr-route-list ovn_cluster_router

      3.  restart the ovnkube pod

      4. check the static route again. 

      Actual results:

      the static route `10.128.2.0/23                100.64.0.6 src-ip` was removed ** 

      Expected results:

      the static route `10.128.2.0/23                100.64.0.6 src-ip` should not be removed ** 

      Additional info:

      Not sure what's this route for? 

      for N-S traffic of local pod, it can be taken over by `10.128.0.0/14                100.64.0.6 src-ip` if route is removed.  So N-S will not be affected. 

      However at the beginning the route was added. it should not be removed after restarting ovnkube pod. 

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

                Created:
                Updated: