Bug 1954671

Summary: disable volume expansion support in vsphere csi driver storage class
Product: OpenShift Container Platform Reporter: Hemant Kumar <hekumar>
Component: StorageAssignee: Jonathan Dobson <jdobson>
Storage sub component: Operators QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, jdobson
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:04:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hemant Kumar 2021-04-28 14:47:55 UTC
disable volume expansion support in vsphere csi driver storage class

Comment 1 Hemant Kumar 2021-04-28 14:48:50 UTC
We should disable it from storageclass for now - https://github.com/openshift/vmware-vsphere-csi-driver-operator/blob/master/assets/storageclass.yaml

Comment 2 Jonathan Dobson 2021-05-11 18:55:02 UTC
Volume expansion is being disabled because the vSphere CSI driver is still in beta and has several limitations. First, it does not support volume expansion universally (see https://vsphere-csi-driver.sigs.k8s.io/supported_features_matrix.html). Second, volume expansion is not supported for all datastores (vSAN only right now). And finally, we do not yet have a e2e test for it.

Comment 3 Jonathan Dobson 2021-05-12 22:02:23 UTC
*** Bug 1954662 has been marked as a duplicate of this bug. ***

Comment 4 Jonathan Dobson 2021-05-13 16:25:38 UTC
(In reply to Jonathan Dobson from comment #2)
> Volume expansion is being disabled because the vSphere CSI driver is still
> in beta and has several limitations.

Correction: it is only volume expansion support which is still in beta for this driver.

Comment 6 Wei Duan 2021-05-17 07:04:35 UTC
Verified pass on 4.8.0-0.nightly-2021-05-15-141455:

$ oc get sc thin-csi
NAME                 PROVISIONER              RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
thin-csi             csi.vsphere.vmware.com   Delete          WaitForFirstConsumer   false                  5h34m

Comment 9 errata-xmlrpc 2021-07-27 23:04:32 UTC
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.8.2 bug fix and security 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-2021:2438