Description of problem: Currently, the storageclass "standard-csi" installed by Cinder csi driver operator doesn't enable the allowVolumeExpansion. It's better to enable it as default like Cinder in-tree plugin to support volume resize. Version-Release number of selected component (if applicable): 4.7.0-0.nightly-2020-12-09-112139 How reproducible: Always Steps to Reproduce: 1. Install OSP cluster and cinder csi driver is installed. 2. Check the storageclass installed by cinder csi driver operator if volume resize is enabled by default. Actual results: $ oc get sc standard-csi NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE standard-csi cinder.csi.openstack.org Delete WaitForFirstConsumer false 5h18m Expected results: It's better to enable it as default like Cinder in-tree plugin to support volume resize.
It looks like we're setting the `allowVolumeExpansion: true` property in the StorageClass already: https://github.com/openshift/cluster-storage-operator/blob/19981dc/assets/storageclasses/openstack.yaml#L9 Why is it not picked up?
(In reply to Martin André from comment #2) > It looks like we're setting the `allowVolumeExpansion: true` property in the > StorageClass already: > > https://github.com/openshift/cluster-storage-operator/blob/19981dc/assets/ > storageclasses/openstack.yaml#L9 > > Why is it not picked up? My bad, I was looking at the storage class for the in-tree cinder provisioner. The cinder-csi one doesn't have it. https://github.com/openshift/openstack-cinder-csi-driver-operator/blob/eb9f7a3/assets/storageclass.yaml
Verified pass on 4.7.0-0.nightly-2021-01-19-095812 $ oc get sc standard-csi NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE standard-csi cinder.csi.openstack.org Delete WaitForFirstConsumer true 3h57m
*** Bug 1917022 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633