Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Deleting a PV doesn't remove it from Packet. #46

Closed
clanstyles opened this issue Oct 7, 2019 · 5 comments
Closed

Deleting a PV doesn't remove it from Packet. #46

clanstyles opened this issue Oct 7, 2019 · 5 comments

Comments

@clanstyles
Copy link

Deleting a PV doesn't remove it from your volumes at packet. Additionally, it doesn't unmount it from the node and Packet wont always let you delete the volume by hand without it being detached.

@deitch
Copy link
Contributor

deitch commented Oct 10, 2019

Can you validate this again? I manually deleted a pvc (kubectl delete pvc ...) and it detaches and deletes the volume.

@clanstyles
Copy link
Author

Nope! Doesn't work for me. Check the sample cluster I provided. The volume is still attached on the cluster after it was deleted. I have to manually unmount it and deleted it from the Packet portal.

@deitch
Copy link
Contributor

deitch commented Oct 12, 2019

Can we chat on slack? Once we figure it out, we can report and fix it here, but this kind of "pair debugging" is a little harder to do on an issue. Good to sync real time.

@deitch
Copy link
Contributor

deitch commented Oct 12, 2019

Also, I did just run a completely clean install and ran the demo-pod.yml, then deleted it. The pod itself goes away almost instantaneously, as does the pvc. The pv itself is cleaned up by Kubernetes and causes the volume to disappear, but it does take a bit of time (in my tests up to about a minute). I had the same process repeated over and over again, same results, all good.

If we can slack, let's run through it together and see if we can narrow down the issue.

@clanstyles
Copy link
Author

This seems fixed. #53 contains a new edge case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants