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

Editing network/cluster/spec.defaultNetwork.ovnKubernetesConfig.gatewayConfig.ipForwarding is not possible during runtime

XMLWordPrintable

    • 05/23; likely a duplicate. suggest closing. pinging Arnab

      Description of problem:

      It is documented in https://access.redhat.com/documentation/de-de/openshift_container_platform/4.14/html/networking/cluster-network-operator:
      "You can only change the configuration for your cluster network plugin during cluster installation, except for the gatewayConfig field that can be changed at runtime as a postinstallation activity."
      
      Unfortunately this does not work at all and forwarding keeps restricted until you add a machine config to change the behaviour via sysctl.

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

          

      How reproducible:

      always

      Steps to Reproduce:

          1. install 4.14 cluster
          2. oc edit network cluster
          3. add to spec:
        defaultNetwork:
          type: OVNKubernetes
          ovnKubernetesConfig:
            gatewayConfig:
              ipForwarding: Global
          4. save the editings
          5. look at your edits via "oc get network cluster -o yaml"
          6. look at nodes forwarding

      Actual results:

      (1) "oc get network cluster -o yaml" does not reflect the above changes
      (2) nodes remain in restricted forwarding state, just forwarding kubernetes relates traffic via br-ex.

      Expected results:

      (1) "oc get network cluster -o yaml" reflect the above changes
      (2) nodes forward all traffic between interfaces.

      Additional info:

          

              rhn-support-arghosh Arnab Ghosh
              j.thadden@redhat.com Joachim von Thadden
              Anurag Saxena Anurag Saxena
              Joachim von Thadden
              Arnab Ghosh, Ben Pickard
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: