-
Notifications
You must be signed in to change notification settings - Fork 84
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
Statically provisioned PersistentVolume with persistentVolumeReclaimPolicy: Delete does not delete #1826
Comments
what is the csi driver controller logs? https://github.com/kubernetes-sigs/blob-csi-driver/blob/master/docs/csi-debug.md#case1-volume-createdelete-issue, there should be |
1 similar comment
what is the csi driver controller logs? https://github.com/kubernetes-sigs/blob-csi-driver/blob/master/docs/csi-debug.md#case1-volume-createdelete-issue, there should be |
Thanks for the pointer! Nothing interesting here:
BUT if we look at the
I guess the |
The error message appears to be in this function, which also provides examples of what the ID should look like: blob-csi-driver/pkg/blob/blob.go Lines 398 to 421 in 63c72f8
I suppose I'll dyanmically provision some volumes and take a look at what the IDs should look like. But this should be documented given that it's important for the driver functioning. |
Using a This issue is solved for me, but I will leave it open because it should be addressed in the documentation for static provisioning. |
What happened:
Just like #1616 , the underlying Azure Blob container did not get deleted when deleting a PV with
persistentVolumeReclaimPolicy: Delete
.Here is my PV and PVC:
What you expected to happen:
The container
adria-catastrophic-goodhart
in accountmyaccountname
in Azure Blob should be deleted, but it is not.How to reproduce it:
Create the YAMLs above, editing to set your account name and a container that exists.
Verify that it exists by creating a pod and mounting it (optional but recommended). E.g. something like this:
Delete the pod. Then run
kubectl delete pvc az-pvc-example
.Anything else we need to know?:
Environment:
kubectl version
):uname -a
):The text was updated successfully, but these errors were encountered: