Bug 1688318
Summary: | PVC resize fails from webconsole if limits are set | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Matthew Robson <mrobson> |
Component: | Management Console | Assignee: | Ankush Behl <anbehl> |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.11.0 | CC: | anbehl, aos-bugs, jmalde, jokerman, mmccomas, spadgett, yapei |
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-26 09:07:55 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
Matthew Robson
2019-03-13 14:30:03 UTC
Ankush, are you able to look at this? Sam, Looking into this will update once the fix is available. QE tried to reproduce the issue with steps 1. Create StorageClass with allowVolumeExpansion: true oc get sc standard-testing -o yaml allowVolumeExpansion: true apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: annotations: storageclass.beta.kubernetes.io/is-default-class: "false" creationTimestamp: 2019-03-26T03:20:11Z name: standard-testing resourceVersion: "39761" selfLink: /apis/storage.k8s.io/v1/storageclasses/standard-testing uid: 107d14f9-4f76-11e9-8b5a-fa163ede2042 parameters: fstype: xfs provisioner: kubernetes.io/cinder reclaimPolicy: Delete volumeBindingMode: Immediate 2. Create Resource Quota apiVersion: v1 kind: ResourceQuota metadata: name: quota-pvc-storage spec: hard: persistentvolumeclaims: "1" requests.storage: "1Gi" 3. Create PVC using sc/standard-testing and set size to 500MiB, PVC will be bound 4. Goes to Storage -> mypvc -> Actions -> Expand PVC 5. Try to set Capacity to 500GiB, it will show error message " Storage quota will be exceeded. View Quota " and Expand button will be disabled, user can't expand to larger value 6. Try to set Capacity to 1GiB(quota limit), it can be expanded to 1GiB this is checked on openshift v3.11.100 Didn't see error 'Can't be greater than .', will give another try on 3.11.59 tomorrow *** Bug 1700182 has been marked as a duplicate of this bug. *** 1. Create LimitRange # oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/limits/limits.yaml -n testproject 2. Create StorageClass with allowVolumeExpansion set to true 3. Create PVC using this storageclass 4. Goes to Storage -> mypvc -> Actions -> Expand PVC, there is error " Can't be greater than . " and not be able to expand PVC This is reproduced on v3.11.59 Having LimitRange in project prevents user from expanding PVC. Having ResourceQuota doesn't affect the function 1. Create StorageClass allowVolumeExpansion: true apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: standard-testing parameters: fstype: xfs provisioner: kubernetes.io/aws-ebs reclaimPolicy: Delete volumeBindingMode: Immediate 2. Create LimitRange in project oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/limits/limits.yaml -n testproject 3. Create PVC with capacity set as 500MiB 4. Expand PVC to 510MiB via Actions -> Expand PVC PVC can be successfully extended. Verified on OpenShift Web Console:v3.11.117 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:1605 |