Skip to content
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

"vagrant destroy" after a "halt" does not delete local storage volume #15

Open
angristan opened this issue Oct 4, 2020 · 0 comments · May be fixed by #17
Open

"vagrant destroy" after a "halt" does not delete local storage volume #15

angristan opened this issue Oct 4, 2020 · 0 comments · May be fixed by #17

Comments

@angristan
Copy link
Contributor

angristan commented Oct 4, 2020

A vagrant destroy when the server is running will call server.terminate, which destroys attached volumes.
A vagrant destroy when the server is halted will call server.destroy, which does not destroy attached volumes.

@angristan angristan changed the title "vagrant destroy" does not delete local storage volume "vagrant destroy" after a "halt" does not delete local storage volume Oct 4, 2020
angristan added a commit to scaleway/vagrant-scaleway that referenced this issue Oct 4, 2020
Fixes kaorimatz#15.

A `vagrant destroy` when the server is running will call `server.terminate`, which destroys attached volumes.
A `vagrant destroy` when the server is halted will call `server.destroy`, which does not destroy attached volumes.

This commit addresses the second case and delete each volume seperately.
@angristan angristan linked a pull request Oct 4, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant