-
Notifications
You must be signed in to change notification settings - Fork 389
Delete pvc sometimes may not delete volume in heketi #404
Comments
How are you creating your PVCs? Does |
@jarrpa this is my pvc yaml:
|
What's the YAML definition for your StorageClass and one of your PVs? |
@jarrpa
storageclass
|
Hmm... try to delete a bound PVC, then check |
@jarrpa |
So you're saying that most of the time when you delete a PVC the PV and heketi volume get successfully deleted as well? Check the heketi logs anyway and look for any errors. Offhand, I'm guessing you might be able to reproduce this if you delete more than one PVC in rapid succession. |
maybe I do need call API 3 times to delete one volume. (sad face) |
@jarrpa ok , I'll try, thanks for your help |
@jarrpa I also encountered the same issue. After pvc,pv delete successfully, but volume still existed on heketi. I have to delete them on heketi one by one? Any good idea for this issue. thanks a lot. |
@yu-yang2 I also face the same issue. After pvc & pv deleted, but volume still existed, i have to delete them one by one using |
@xiaomage008 I haven't meet this issue after upgrade heketi to 5.0. |
Yes, older versions of heketi have issues where the volumes between k8s and heketi go out of sync. This should be remedied by upgrading to newer versions. |
@jarrpa , having a similar issue where in using heketi-cli v8.0.0-334-g39f7df22, wherein when i delete my pvc (gets deleted) pv remains in Failed status ( after released status a while) , current using gluster 4.1.7 version. Checking the logs (heketi) the volume does not exit , so the delete went fine! , but the communication back to the pv status is lost i guess, (also checked with any pods are attached) . geeting this message in the pv logs : Message: server did not provide a message (status 500: Internal Server Error) Setup : Any ideas why this happening? thanks, |
/reopen |
We are facing the same problem when undeploying an application with tens of pvcs/pvs. It looks like pvc and pv are gone. But both volumes in heketi as well as - the corresponding glusterfs-dynamic services are not still showing up -- not removed: kubectl get svc --all-namespacesNAMESPACE NAME TYPE CLUSTE |
/reopen |
As far as i know, delete pvc will clean the volume in heketi, but I found some times delete pvc will not delete the volume in heketi, and pv keeps
Released
status, how can i delete them all if I only delete pvc?The text was updated successfully, but these errors were encountered: