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

TechPreviewNoUpgrade featureset should not be disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.16
    • kube-apiserver
    • None
    • Important
    • Yes
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      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
              rhn-support-jiajliu Jia Liu
              Ke Wang Ke Wang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: