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

HCP clusters can not change default storageclass from Kubevirt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.14, 4.15, 4.16, 4.17, 4.18
    • None
    • Important
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When creating a HCP OSV cluster, the storageclass "kubevirt-csi-infra" is automatically the default storageclass (storageclass.kubernetes.io/is-default-class: 'true'). 
      The problem is this can not be altered to allow a different storageclass to be the default. On a non-HCP cluster, a different storageclass can be the default by altering the annotation to "true" or "false". 
      Any attempt on the kubevirt one results in the default being set back to 'true' since it is managed by the hypershift operator. 
      This behavior is contrary to other OCP clusters and has resulted in issues where an application picks the 'default' storageclass and ends up with kubevirt, which is not desirable. 

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

          4.16 and others

      How reproducible:

          easy

      Steps to Reproduce:

          1.Create a HCP cluster with kubevirt
          2.Add another potential storageclass
          3.Attempt to change the kubevirt one to not be default via the storageclass yaml annotation.
          

      Actual results:

          kubevirt will reset to 'true' as default storageclass

      Expected results:

          kubevirt will accept the change to the annotation.

      Additional info:

          

              rhn-engineering-dvossel David Vossel
              lhuston_rh Lisa Huston
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: