Bug 2041441
Summary: | Provision volume with size 3000Gi even if sizeRange: '[10-2000]GiB' in storageclass on IBM cloud | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chao Yang <chaoyang> |
Component: | Storage | Assignee: | Jonathan Dobson <jdobson> |
Storage sub component: | Operators | QA Contact: | Chao Yang <chaoyang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | ambiknai, aos-bugs, arahamad, jsafrane |
Version: | 4.10 | Flags: | jdobson:
needinfo-
|
Target Milestone: | --- | ||
Target Release: | 4.10.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: | 2022-03-10 16:40:08 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
Chao Yang
2022-01-17 11:11:11 UTC
Apparently this is stubbed out in the driver with just a log message: https://github.com/openshift/ibm-vpc-block-csi-driver/blob/d54e3706bb8b38447800aa91632a946eb6c990ec/pkg/ibmcsidriver/controller_helper.go#L174-L176 case SizeRangeSupported: // Ignore... Provided in SC just as user information logger.Info("Ignoring storage class parameter", zap.Any("ClassParameter", SizeRangeSupported)) @arahamad.com is there any plan to change this, so the driver validates the size of the volume being requested? If not, would it make sense to remove sizeRange from the storageclasses until that change is made? Hi @jdobson The IOPS tier and Volume size is per the doc : https://cloud.ibm.com/docs/vpc?topic=vpc-block-storage-profiles&interface=ui#tiers-beta. Looks like the doc got updated and our SCs are still referring to old values. To keep things simple, we will remove the sizeRange from SC as you suggested. parameters: csi.storage.k8s.io/fstype: ext4 encrypted: "false" encryptionKey: "" profile: 10iops-tier region: "" resourceGroup: "" tags: "" zone: "" Passed with 4.10.0-0.nightly-2022-01-27-221656 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.10.3 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-2022:0056 |