Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-51665

[4.15] EBS io2 StorageProfile - missing RWX Block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • CNV v4.15.8
    • CNV v4.15.0
    • Storage Platform
    • None
    • Storage Core Sprint 263
    • None

      Description of problem:

      Only {RWO, Block} is mentioned in the storage profile
      

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

      4.17, probably earlier versions as well

      How reproducible:

      Always

      Steps to Reproduce:

      StorageProfile:

      $ oc get storageprofile io2-csi -oyaml
      
      apiVersion: cdi.kubevirt.io/v1beta1
      kind: StorageProfile
      metadata:
        creationTimestamp: "2024-09-02T11:32:02Z"
        generation: 1
        labels:
          app: containerized-data-importer
          app.kubernetes.io/component: storage
          app.kubernetes.io/managed-by: cdi-controller
          app.kubernetes.io/part-of: hyperconverged-cluster
          app.kubernetes.io/version: 4.17.0
          cdi.kubevirt.io: ""
        name: io2-csi
        ownerReferences:
        - apiVersion: cdi.kubevirt.io/v1beta1
          blockOwnerDeletion: true
          controller: true
          kind: CDI
          name: cdi-kubevirt-hyperconverged
          uid: ce929f17-f885-4c2a-af86-199cee00f617
        resourceVersion: "52540"
        uid: 845f817f-827d-4287-8cb8-b6aa78c2da2d
      spec: {}
      status:
        claimPropertySets:
        - accessModes:
          - ReadWriteOnce
          volumeMode: Block
        cloneStrategy: snapshot
        dataImportCronSourceFormat: pvc
        provisioner: ebs.csi.aws.com
        snapshotClass: csi-aws-vsc
        storageClass: io2-csi

      StorageClass:

      $ oc get sc io2-csi -oyaml
      allowVolumeExpansion: true
      apiVersion: storage.k8s.io/v1
      kind: StorageClass
      metadata:
        annotations:
          kubectl.kubernetes.io/last-applied-configuration: |
            {"allowVolumeExpansion":true,"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{"storageclass.kubernetes.io/is-default-class":"true","storageclass.kubevirt.io/is-default-virt-class":"true"},"creationTimestamp":"2024-09-02T11:28:15Z","name":"io2-csi","resourceVersion":"136187","uid":"4357b1d7-e3c0-4ec1-a372-9807d3f946a8"},"parameters":{"iops":"4000","type":"io2"},"provisioner":"ebs.csi.aws.com","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"}
          storageclass.kubernetes.io/is-default-class: "true"
          storageclass.kubevirt.io/is-default-virt-class: "true"
        creationTimestamp: "2024-09-02T15:44:38Z"
        name: io2-csi
        resourceVersion: "207551"
        uid: 41747b86-46f4-4f7a-957f-33dff7886e77
      parameters:
        iops: "4000"
        type: io2
      provisioner: ebs.csi.aws.com
      reclaimPolicy: Delete
      volumeBindingMode: WaitForFirstConsumer

      Actual results:

      {RWO, Block}

      Expected results:

      {RWX, Block}, {RWO, Block}, {RWO, FS}

      Additional info:

      W/A to patch the storageProfile:
      
      oc patch storageprofile io2-csi --type='merge' --patch='{"spec": {"claimPropertySets": [{"accessModes": ["ReadWriteMany"], "volumeMode": "Block"}, {"accessModes": ["ReadWriteOnce"], "volumeMode": "Block"}, {"accessModes": ["ReadWriteOnce"], "volumeMode": "Filesystem"}]}}'

              agilboa@redhat.com Arnon Gilboa
              jpeimer@redhat.com Jenia Peimer
              Satheesaran Sundaramoorthi Satheesaran Sundaramoorthi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: