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

TechPreviewNoUpgrade featureset should not be disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.16.z
    • 4.16
    • kube-apiserver
    • None

      This is a clone of issue OCPBUGS-34907. The following is the description of the original issue:

      Description of problem:

          The TechPreviewNoUpgrade featureset could be disabled on a 4.16 cluster after enabling it. But according to the official doc `Enabling this feature set cannot be undone and prevents minor version updates`, it should not be disabled.
      
      # ./oc get featuregate cluster -ojson|jq .spec
      {  "featureSet": "TechPreviewNoUpgrade"}
      
      # ./oc patch featuregate cluster --type=json -p '[{"op":"remove", "path":"/spec/featureSet"}]
      'featuregate.config.openshift.io/cluster patched
      
      # ./oc get featuregate cluster -ojson|jq .spec
      {}

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

          4.16.0-0.nightly-2024-06-03-060250

      How reproducible:

          always

      Steps to Reproduce:

          1. enable the TechPreviewNoUpgrade fs on a 4.16 cluster
          2. then remove it 
          3.
          

      Actual results:

          TechPreviewNoUpgrade featureset was disabled

      Expected results:

          Enabling this feature set cannot be undone

      Additional info:

      https://github.com/openshift/api/blob/master/config/v1/types_feature.go#L43-L44

            deads@redhat.com David Eads
            openshift-crt-jira-prow OpenShift Prow Bot
            Ke Wang Ke Wang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: