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

4.11: When adding nodes, the overlapped node-subnet can be allocated.


    • Critical
    • 1
    • OCP VE Sprint 228
    • 1
    • Rejected
    • False
    • Hide



      Description of problem:

      When adding new nodes to the existing cluster, the newly allocated node-subnet can be overlapped with the existing node.

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

      openshift 4.10.30

      How reproducible:

      It's quite hard to reproduce but  there is a possibility it can happen any time. 

      Steps to Reproduce:

      1. Create a OVN dual-stack cluster
      2. add nodes to the existing cluster
      3. check the allocated node subnet 

      Actual results:

      Some newly added nodes have the same node-subnet and ovn-k8s-mp0 IP as some existing nodes.

      Expected results:

      Should have duplicated node-subnet and ovn-k8s-mp0 IP

      Additional info:

      Additional info can be found at the case 03329155 and the must-gather attached(comment #1) 
      % omg logs ovnkube-master-v8crc -n openshift-ovn-kubernetes -c ovnkube-master | grep '2022-09-30T06:42:50.857'
      2022-09-30T06:42:50.857031565Z W0930 06:42:50.857020       1 master.go:1422] Did not find any logical switches with other-config
      2022-09-30T06:42:50.857112441Z I0930 06:42:50.857099       1 master.go:1003] Allocated Subnets [ fd02:0:0:4::/64] on Node worker01.ss1.samsung.local
      2022-09-30T06:42:50.857122455Z I0930 06:42:50.857105       1 master.go:1003] Allocated Subnets [ fd02:0:0:a::/64] on Node oam04.ss1.samsung.local
      2022-09-30T06:42:50.857130289Z I0930 06:42:50.857122       1 kube.go:99] Setting annotations map[k8s.ovn.org/node-subnets:{"default":["","fd02:0:0:4::/64"]}] on node worker01.ss1.samsung.local
      2022-09-30T06:42:50.857140773Z I0930 06:42:50.857132       1 kube.go:99] Setting annotations map[k8s.ovn.org/node-subnets:{"default":["","fd02:0:0:a::/64"]}] on node oam04.ss1.samsung.local
      2022-09-30T06:42:50.857166726Z I0930 06:42:50.857156       1 master.go:1003] Allocated Subnets [ fd02:0:0:5::/64] on Node oam01.ss1.samsung.local
      2022-09-30T06:42:50.857176132Z I0930 06:42:50.857157       1 master.go:1003] Allocated Subnets [ fd02:0:0:4::/64] on Node rhel01.ss1.samsung.local
      2022-09-30T06:42:50.857176132Z I0930 06:42:50.857167       1 kube.go:99] Setting annotations map[k8s.ovn.org/node-subnets:{"default":["","fd02:0:0:5::/64"]}] on node oam01.ss1.samsung.local
      2022-09-30T06:42:50.857185257Z I0930 06:42:50.857157       1 master.go:1003] Allocated Subnets [ fd02:0:0:d::/64] on Node call03.ss1.samsung.local
      2022-09-30T06:42:50.857192996Z I0930 06:42:50.857183       1 kube.go:99] Setting annotations map[k8s.ovn.org/node-subnets:{"default":["","fd02:0:0:4::/64"]}] on node rhel01.ss1.samsung.local
      2022-09-30T06:42:50.857200017Z I0930 06:42:50.857190       1 kube.go:99] Setting annotations map[k8s.ovn.org/node-subnets:{"default":["","fd02:0:0:d::/64"]}] on node call03.ss1.samsung.local
      2022-09-30T06:42:50.857282717Z I0930 06:42:50.857258       1 master.go:1003] Allocated Subnets [ fd02:0:0:7::/64] on Node call01.ss1.samsung.local
      2022-09-30T06:42:50.857304886Z I0930 06:42:50.857293       1 kube.go:99] Setting annotations map[k8s.ovn.org/node-subnets:{"default":["","fd02:0:0:7::/64"]}] on node call01.ss1.samsung.local
      2022-09-30T06:42:50.857338896Z I0930 06:42:50.857314       1 master.go:1003] Allocated Subnets [ fd02:0:0:9::/64] on Node f501.ss1.samsung.local
      2022-09-30T06:42:50.857349485Z I0930 06:42:50.857329       1 master.go:1003] Allocated Subnets [ fd02:0:0:8::/64] on Node call02.ss1.samsung.local
      2022-09-30T06:42:50.857371344Z I0930 06:42:50.857354       1 kube.go:99] Setting annotations map[k8s.ovn.org/node-subnets:{"default":["","fd02:0:0:9::/64"]}] on node f501.ss1.samsung.local
      2022-09-30T06:42:50.857371344Z I0930 06:42:50.857361       1 kube.go:99] Setting annotations map[k8s.ovn.org/node-subnets:{"default":["","fd02:0:0:8::/64"]}] on node call02.ss1.samsung.local

            pepalani@redhat.com Periyasamy Palanisamy
            soh@redhat.com Sehee Oh
            Anurag Saxena Anurag Saxena
            Sehee Oh
            0 Vote for this issue
            5 Start watching this issue