ibm-spectrum-scale-csi
ibm-spectrum-scale-csi copied to clipboard
PVC stays in Resizing state if request size is given more than scale's fileset size limit
Describe the bug
PVC stays in Resizing state if request size is given more than scale's fileset size limit
How to Reproduce?
Please list the steps to help development teams reproduce the behavior
- Create a PVC of any size
- Increase the size to more than maximum limit (For eg. 9223372036854775807Gi)
Kubectl edit pvc pvc_name - Save this with the new size
- Check the type of PVC, it will show resizing
Expected behavior
It should give error message and not to accept the given value
Data Collection and Debugging
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: "9223372036854775807"
storageClassName: sc-crazy-elephant-954
volumeMode: Filesystem
volumeName: pvc-60a2c4eb-7ff5-47c8-98ad-b41e55bd4e37
status:
accessModes:
- ReadWriteMany
capacity:
storage: 5Gi
conditions:
- lastProbeTime: null
lastTransitionTime: "2022-09-19T09:29:48Z"
status: "True"
type: Resizing
phase: Bound
@badri-pathak consider this one as well along with current min-max pvc size work