-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: PVC fails to resize with the message spec.capacity[storage]: Invalid value: "0": must be greater than zero #507
Comments
@dell team, please refer to the conversation here : https://dellemccsm.slack.com/archives/C025E763URH/p1665582178007659 |
Thanks for the info @coulof In your case, are you having any retry logic after a timeout and seeing this behavior? Are you seeing this consistently ? Thanks |
@rajendraindukuri What do mean by retry login ? I just resized a bunch of pvc's and while few got resized successfully most of the other pvc's resize failed with the error. We can observer this behaviour across few different clusters. |
@rajbaratht Just wanted to confirm if you are having any 'retry' logic (if you are using a script to run your operations). From the screenshots above it looks like modify LUN operations are failing on Unity Array. Can you please double click any of the failed "modify LUN" jobs and send that screenshot to understand at what step modify LUN operation is failing ? Thanks |
For internal tracking KRV-8768 |
Hi Raj, |
Hi @rajbaratht Based on the log details and behavior in our environment , it does not seem to be issue with driver code. So raised a issue with resizer repo kubernetes-csi/external-resizer#226 I saw other similar issues on the resizer repo in open state. We will have to wait for their response and take it forward based on their response. Thanks |
Hi @rajbaratht Fix for this is provided as part of nightly and the same will be available in the upcoming csi unity driver version v2.6.0. Closing this for now. Please get back to us if you see any issues in your testing. Thanks |
Bug Description
Hello - I had to resize some of the pvc's in our environment and I accomplished that using the kubectl patch command
Originally the size of the pvc was 3 Gi and we wanted to expand and I used the above command to resize. However, some of the pvc failed resizing with the error message
Now it seems to be stuck in resizing
Logs
Screenshots
Additional Environment Information
If you see the below output some of the pvc has resized successfully but few failed and stuck in resizing
Steps to Reproduce
for i in `kg pvc --no-headers | grep mongo | awk '{ print $1 }'`; do k patch pvc $i --type json -p='[{ "op": "replace", "path": "/spec/resources/requests/storage", "value": "10Gi"}]'; done
Expected Behavior
The pvc's should resize without any errors
CSM Driver(s)
CSI Driver for Dell Unity XT v2.2
CSI Driver for Dell Unity XT v2.4
Installation Type
Helm
Container Storage Modules Enabled
No response
Container Orchestrator
Kubernetes v1.22.10
Operating System
RockyLinux 8.6
The text was updated successfully, but these errors were encountered: