Bug 1741465
| Summary: | AllowVolumeExpansion is enabled in default storage class for aws, but not for azure/gcp/openstack/vsphere. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Liang Xia <lxia> |
| Component: | Storage | Assignee: | Hemant Kumar <hekumar> |
| Status: | CLOSED ERRATA | QA Contact: | Chao Yang <chaoyang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.2.0 | CC: | aos-bugs, aos-storage-staff, chaoyang, hekumar |
| Target Milestone: | --- | ||
| Target Release: | 4.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-16 06:36:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Liang Xia
2019-08-15 08:59:33 UTC
Thanks for bringing this up. It looks like we can enable expansion by default on all platforms except vsphere. vsphere does not support volume expansion. Verified on OSP with 4.2.0-0.nightly-2019-08-22-153337
apiVersion: v1
items:
- allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "true"
creationTimestamp: "2019-08-20T11:25:38Z"
name: standard
ownerReferences:
- apiVersion: v1
kind: clusteroperator
name: storage
uid: ba46256a-c33b-11e9-a948-fa163e4a50bd
resourceVersion: "10926"
selfLink: /apis/storage.k8s.io/v1/storageclasses/standard
uid: 3c50009d-c33d-11e9-8b5f-fa163ea99686
provisioner: kubernetes.io/cinder
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Azure storage class is updated
oc get sc -o yaml
apiVersion: v1
items:
- allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "true"
creationTimestamp: 2019-08-26T03:18:49Z
name: managed-premium
namespace: ""
ownerReferences:
- apiVersion: v1
kind: clusteroperator
name: storage
uid: 5249171b-c7af-11e9-8489-000d3a968d5d
resourceVersion: "8914"
selfLink: /apis/storage.k8s.io/v1/storageclasses/managed-premium
uid: 392ff357-c7b0-11e9-bbb0-000d3a968415
parameters:
kind: Managed
storageaccounttype: Premium_LRS
provisioner: kubernetes.io/azure-disk
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
kind: List
metadata:
resourceVersion: ""
selfLink: ""
AllowVolumeExpansion does not set on vsphere with 4.2.0-0.nightly-2019-08-27-105356 oc describe sc thin | grep -i expansion AllowVolumeExpansion: <unset> GCE default sc is updated oc describe sc standard Name: standard IsDefaultClass: Yes Annotations: storageclass.kubernetes.io/is-default-class=true Provisioner: kubernetes.io/gce-pd Parameters: replication-type=none,type=pd-standard AllowVolumeExpansion: True MountOptions: <none> ReclaimPolicy: Delete VolumeBindingMode: WaitForFirstConsumer Events: <none> 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, 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/RHBA-2019:2922 |