-
Notifications
You must be signed in to change notification settings - Fork 133
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
PVC s are not syncing after the PV s are expanded #226
Comments
Resize operation is always retried if previous operation times out. It appears that, in some cases after successful resize, the CSI driver is returning "0" as new expanded size and that is why this error is happening. Please note - Can you double check, why driver is returning "0" as new size after expansion? |
Hi @gnufied I tried checking if the driver is returning "0" as the new expanded size in retries using the controller logs and it is never passing "0" as the new size. I compared the resizer logs corresponding to each request from driver logs but driver is never passing expanded size as "0". I checked all the requests in the controller logs and observation is same, I put the driver controller and resizer logs together for few requests to trace the scenario completely (not the timing in both the logs). Please find the snippets as below: The above retry scenario repeats continuously where as the volume size is expanded as expected on the storage side. This scenario does not happen consistently for all expansions. Any pointers from your side would be helpful. Thanks |
Hi, |
Check - https://github.com/dell/csi-unity/blob/main/service/controller.go#L803 , it clear as day that driver is not being compliant with CSI spec. /close |
@gnufied: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
4133d1df Merge pull request kubernetes-csi#226 from msau42/cloudbuild 8d519d23 Pin buildkit to v0.10.6 to workaround v0.11 bug with docker manifest 6e04a030 Merge pull request kubernetes-csi#224 from msau42/cloudbuild 26fdfffd Update cloudbuild image git-subtree-dir: release-tools git-subtree-split: 4133d1df083eaa65bdeddd0530d54278529c7a60
Hi,
We are trying to resize the PVC s and we are seeing that PV s are getting resized as expected but the PVC s are not syncing with the new size as expected. This is not happening consistently. Please find the event logs as below:
Also find the resizer logs as below:
More info: : Storage calls in our case are asynchronous and sometimes due to some congestion, they might take more time for provisioning/resize operations. Is there any retry logic in resizer which will timeout and retry the operations after some time?
Just assuming if there is a timeout kept in resizer logic , due to the long time taken by the operation..it is timing out and by the time it retries the resize operation got successful in the backend and hence we are seeing the above issue.
Can you please help us resolve this issue?
Environment Details:
Kubernetes: 1.24
OS: RHEL 8.x
The text was updated successfully, but these errors were encountered: