ibm-spectrum-scale-csi icon indicating copy to clipboard operation
ibm-spectrum-scale-csi copied to clipboard

PVC stays in Resizing state if request size is given more than scale's fileset size limit

Open saurabhwani5 opened this issue 3 years ago • 1 comments

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

  1. Create a PVC of any size
  2. Increase the size to more than maximum limit (For eg. 9223372036854775807Gi) Kubectl edit pvc pvc_name
  3. Save this with the new size
  4. 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 

Logs: ibm-spectrum-scale-csi-logs_09-19-2022-02:41:08.zip

saurabhwani5 avatar Sep 19 '22 09:09 saurabhwani5

@badri-pathak consider this one as well along with current min-max pvc size work

deeghuge avatar Apr 15 '24 12:04 deeghuge