Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-8866

Support using infraStorageClassEnforcement.allowAll on Kubevirt HCP clusters

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Hosted Control Planes
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With the denial of RFE-7560 about customizing storage class mappings, the customer requires another way not have to rebuild HCP clusters in order to change storage class configuration.

      1. Proposed title of this feature request

      Support using infraStorageClassEnforcement.allowAll on Kubevirt HCP clusters
      

      2. What is the nature and description of the request?

      If manual mappings are not specified in the hostedcluster (.spec.platform.kubevirt.storageDriver)
      
      spec:
        platform:
          kubevirt:
            baseDomainPassthrough: false
            generateID: xmwz2gh5j6
          type: KubeVirt
      
      and we support setting:
      
      infraStorageClassEnforcement:
        allowAll: true
      
      then cluster administrators can:
      * Add and remove guest storage classes as needed
      * Perform in‑guest data migrations using standard tooling
      * Avoid disruptive and unnecessary cluster rebuilds
      
      No new functionality is required — only a supported way to configure an existing control. Currently this is hardcoded in https://github.com/openshift/hypershift/blob/195ba09e55a6f62e30d93d656fa0dcb6c29ea637/control-plane-operator/controllers/hostedcontrolplane/v2/csi/kubevirt/config.go#L95
      
      In this model, allowing administrators to manage storage classes
      
      This solution allows the customer to manually manage storage as required, without having to use or modify the mappings which were denied in RFE-7560.
      

      3. Why does the customer need this? (List the business requirements here)

      * Tenants run persistent, long‑lived workloads
      * Storage backends must change over time (array refresh, migration, vendor change)
      
      Current Red Hat guidance requires rebuilding guest clusters when infra storage classes change. Forcing tenants to rebuild clusters to accommodate storage lifecycle events is not an option and makes Hosted OpenShift unsuitable for real‑world enterprise use.
      
      Storage classes must be addable and removable in guest clusters without requiring mandatory cluster rebuilds.
      
      Requiring tenant cluster rebuilds for storage backend changes is operationally and commercially unacceptable.
      

      4. List any affected packages or components.

      kubevirt-csi
      HCP
      

              racedoro@redhat.com Ramon Acedo
              rhn-support-gveitmic Germano Veit Michel
              None
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                None
                None