-
Notifications
You must be signed in to change notification settings - Fork 336
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 deletion results in leaked volume on the storage provider, if CreateVolume never completed in time #311
Comments
@jsafrane marking this for your attention. |
It looks like csi external-provisioner [1] has not implemented the To fix this, if my understanding and code reading it right, requires that CSI external-proviosner add the Thanks to @jsafrane for pointing to this PR to understand the past context. [1] csi external-provisioner provisioner registration (missing external-provisioner/pkg/controller/controller.go Lines 180 to 181 in 27750ab
[2] |
Tested with an implementation of Still need to test how Request someone to confirm that the way forward to resolve this issue looks as above. Thanks! |
This is embarrassing, I forgot to push the last patch in my provisioner refactoring sequence :-). See #312 |
I am facing an issue with the kubernetes CSI provisioner sidecar that leads to a volume leak on Ceph, the nature of things are as follows,
My expectation was that the provisioner would attempt creates till it got an error or a success and then later delete the created volume as the PVC (and PV) are no longer around.
What happened, post step (3), was the provisioner stopped requesting the create, and as the original calls to ceph had succeeded, there was a volume leak on the Ceph side. (neither did the provisioner call delete but that is expected as it does not have the volume ID to call delete with).
Provisioner sidecar versions attempted: v1.2.0 and v1.3.0
logs from the test (provisioner logs and ceph-csi logs): https://paste.fedoraproject.org/paste/J1mddHUmrtMmEbmla8gF9Q
The issue is opened to understand if the behavior is as expected, or there is a bug somewhere.
The text was updated successfully, but these errors were encountered: