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

Cannot disable IPV6 in worker nodes

XMLWordPrintable

    • Moderate
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When we disable ipv6 in IPI baremetal clusters nodes become NotReady.
      
      Since this jira ticket users should be able to disable ipv6 in worker nodes:
      https://issues.redhat.com/browse/OCPBUGS-32278
      
          

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

      Using IPI on Baremetal.
      Flexy template:  private-templates/functionality-testing/aos-4_17/ipi-on-baremetal/versioned-installer-packet_libvirt-bootstrap_static-ci 
      
      
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. Create a MC to disable ipv6 in worker nodes
          
          apiVersion: machineconfiguration.openshift.io/v1
          kind: MachineConfig
          metadata:
            labels:
              machineconfiguration.openshift.io/role: worker
            name: mco-tc-73309-disable-ipv6-cb8p53sy
          spec:
            config:
              ignition:
                version: 3.4.0
            kernelArguments:
              - ipv6.disable=1
      
          
          

      Actual results:

      When the configuration is applied to the first worker node it cannot join the cluster anymore
      
      We can see that its network is not configured
      
      $ ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
      2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq master ovs-system state UP group default qlen 1000
          link/ether 06:97:a8:1d:89:83 brd ff:ff:ff:ff:ff:ff
          altname enp0s5
      3: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
          link/ether 7a:5c:c5:8f:4b:b0 brd ff:ff:ff:ff:ff:ff
      4: genev_sys_6081: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65000 qdisc noqueue master ovs-system state UNKNOWN group default qlen 1000
          link/ether 9e:73:62:3b:72:95 brd ff:ff:ff:ff:ff:ff
      5: ovn-k8s-mp0: <BROADCAST,MULTICAST> mtu 8901 qdisc noop state DOWN group default qlen 1000
          link/ether 3e:b0:95:b5:f1:50 brd ff:ff:ff:ff:ff:ff
      6: br-int: <BROADCAST,MULTICAST> mtu 8901 qdisc noop state DOWN group default qlen 1000
          link/ether 56:79:c8:45:c7:18 brd ff:ff:ff:ff:ff:ff
      7: br-ex: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc noqueue state UNKNOWN group default qlen 1000
          link/ether 06:97:a8:1d:89:83 brd ff:ff:ff:ff:ff:ff
          inet 10.0.59.78/19 brd 10.0.63.255 scope global dynamic noprefixroute br-ex
             valid_lft 2206sec preferred_lft 2206sec
      
          

      Expected results:

      Ipv6 should be disabled in the worker nodes without problems
          

      Additional info:

      It only happens in 4.17, it does not happen in 4.16
          

              bnemec@redhat.com Benjamin Nemec
              sregidor@redhat.com Sergio Regidor de la Rosa
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: