-
Notifications
You must be signed in to change notification settings - Fork 101
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
Does vagrant openstack reset
do anything?
#352
Comments
Actually, this command does not work as it should be. It works only for a single machine Vagrantfile. The current implementation merely delete the folder matching de last machine. This is ok for a single machine configuration but it does not make any sens for a multi-machine one. I'm not sure to understand what you mean by "the openstack provider treat its local state as authoritative instead of as a cache of remote state". Actually, the only information stored locally regarding OpenStack is the ID of the instance in In the case where a machine is deleted, but not deleted by vagrant I think the only thing we can do is to help Vagrant to forget this machine. This was what the I think we should handle this scenario without relying a command like |
I would expect the Maybe we could store a provider UUID in |
I find the
I reached a point where all commands give the same error ^:
|
After deleting a VM through the openstack api rather than through vagrant, I've reached a state where any vagrant command recommends running
vagrant openstack reset
including running that recommended command. In #195 it was suggested that the command not use the openstack api but only clean up the.vagrant/
directory, yet I find myself needing to manually delete the machine subdirectory for the VM that was deleted. Additionally, if the entire.vagrant/
directory is deleted while any machine is active then the vagrant openstack provider will lose all information about the running VM and will never be able to connect to it again, forcing users to use the openstack api to delete the VM or accept that it is no longer managed by vagrant. Why doesn't thevagrant openstack reset
command address either of these issues?Why does the openstack provider treat its local state as authoritative instead of as a cache of remote state?
The text was updated successfully, but these errors were encountered: