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

[4.20][storage.k8s.io/v1beta1] should be served on TechPreviewNoUpgrade hosted clusters

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • Rejected
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

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

      Description of problem:

       [storage.k8s.io/v1beta1] should be served on TechPreviewNoUpgrade hosted clusters    

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

      4.20.0-0.nightly-2025-09-15-100049    

      How reproducible:

      Always    

      Steps to Reproduce:

          1. Create a hosted cluster with featureSet: TechPreviewNoUpgrade
          2. Check on the hosted cluster the VolumeAttributesClass should be enabled.
      
      $ oc get featuregate cluster -o yaml | yq '.status.featureGates[].enabled[].name' | sort| uniq|grep -i 'volume'
      BuildCSIVolumes
      ImageVolume
      VSphereConfigurableMaxAllowedBlockVolumesPerNode
      VolumeAttributesClass
      VolumeGroupSnapshot     
           3. Check the storage.k8s.io/v1beta1 should be served.     

      Actual results:

       In step 3 the storage.k8s.io/v1beta1 is not served
      
      $ oc get --raw /apis/storage.k8s.io/v1beta1 | jq .resourcesError from server (NotFound): the server could not find the requested resource

      Expected results:

        In step 3 the storage.k8s.io/v1beta1 is not served
      
      $ oc get --raw /apis/storage.k8s.io/v1beta1 | jq .resources[
        {
          "name": "volumeattributesclasses",
          "singularName": "volumeattributesclass",
          "namespaced": false,
          "kind": "VolumeAttributesClass",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
            "list",
            "patch",
            "update",
            "watch"
          ],
          "shortNames": [
            "vac"
          ],
          "storageVersionHash": "Bl3MtjZ/n/s="
        }
      ]

      Additional info:

      It made the TechPreviewNoUpgrade hosted clusters VolumeAttributesClass feature unavailable
      
      $ oc get volumeattributesclass
      error: the server doesn't have a resource type "volumeattributesclass"   

              rhn-support-pewang Penghao Wang
              rhn-support-pewang Penghao Wang
              None
              None
              Yu Li Yu Li
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: