-
Notifications
You must be signed in to change notification settings - Fork 12
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
Multiple deploys with vmware_workstation provider #7
Comments
@wyrie Hmmm...I think I have a vague idea of what's going on here. I believe this is really two issues.
Just for clarity, could you please confirm the version of Vagrant that you're running, along with your OS and ruby version (and if you're running ruby via rvm or rbenv, etc.)? |
@jantman Thanks for checking it out.
So I have a workaround for now. If you want to move this to a feature request and need help testing in the future I'm happy with any of it.
Ubuntu 14.04 64bit |
Ok, thanks so much. It might take me a few days to get to it, but I'm going to try and dig through the code and see if there's a cleaner/safer way of hooking in for the config validation and then actual r10k run separately. After doing a little more research, it appears that each of the providers handle hooks slightly differently. This isn't really well documented, so I based my code on how the virtualbox one works. I'll go through that debug ssh output and see if I can find something more concrete. |
@wyrie I assume that you posted that gist after commenting out the Assuming so, I'm going to close this in favor of #9. If your offer of testing still holds, yeah, I might need some assistance with that, as it seems like I can't test with the vmware-workstation provider without actually buying both it and VMWare Workstation. |
Yes that's right. Tested it again and there is definitely multiple deploys on the ssh command. Just let me know when you have a commit you want to test and I'll send you the debug output. |
I am also seeing the multiple r10k deploy issue in my vagrant/Virtual_box env. R10k deploys when running a 'vagrant destroy' as well. |
TL;DR: Yeah, you're right. It should be quick, I'll try my best to work on it this weekend, but my attention has been pulled to other things lately. Yes, I can confirm this is still happening. I guess I should be really embarrassed by the amount of time it's taken me to address this, but I've gotten sidetracked on other things, and also had serious problems trying to get working acceptance tests for this project (apparently that's still a... very new... area for Vagrant plugins). I believe the fix for this should be relatively simple, and I'll do my best to get back up to speed on this and try something this weekend, but I'll need some help testing it. Hashicorp was nice enough to grant me a limited license to the VMWare Workstation provider (to be used exclusively for testing this plugin), and I already have Workstation, but it appears that the automated acceptance tests for this are going to have to be completely rewritten for each provider, AND I've been having trouble getting the VMWare provider working inside a bundle/rspec install... |
Hi
Firstly, thanks for the plugin!
I recently switched to the vmware_workstation provider for vagrant and I am having an issue with the plugin. The r10k deploys multiple times for up and destroy commands. It also runs for the ssh command. I haven't yet tested resume or suspend.
There is some output below and I posted a gist with the debug flag set during an up command.
This is probably a niche issue but if you can spot anything useful from the output please let me know.
The text was updated successfully, but these errors were encountered: