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

Cannot disable feature migration for egressIP during offline SDN migration

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done
    • 08/01 there is no migration in 4.17, but code needs to go to all releases, apparently. Need backports to 4.14, 4.15.

      Description of problem:

      When doing offline SDN migration, setting the parameter "spec.migration.features.egressIP" to "false" to disable automatic migration of egressIP configuration doesn't work.

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

          

      How reproducible:

          

      Steps to Reproduce:

          1. Launch a cluster with OpenShiftSDN. Configure an egressip to a node.
          2. Start offline SDN migration.
          3. In step-3, execute 
             oc patch Network.operator.openshift.io cluster --type='merge' \
        --patch '{
          "spec": {
            "migration": {
              "networkType": "OVNKubernetes",
              "features": {
                "egressIP": false
              }
            }
          }
        }'

      Actual results:

      An egressip.k8s.ovn.org CR is created automatcially.

      Expected results:

      No egressip CR shall be created for OVN-K

      Additional info:

          

            pdiak@redhat.com Patryk Diak
            pliurh Peng Liu
            Jean Chen Jean Chen
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: