-
Notifications
You must be signed in to change notification settings - Fork 166
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
use Vagrant core API for waiting of communicator #162
Conversation
|
+1 please get this merged ASAP :> |
+1, this greatly improves things for me. |
+1 |
@michaeljb this fix is rather critical for using Vagrant with Windows guests. Can we have a new release please? |
+1 |
I used this PR but I'm still getting the "The box is not able to report an address for WinRM to connect to yet." message. I'm curious if it's working succesfully for anybody? I'm using: My current guess is that something is (still) going wrong with obtaining the IP address of the machine. Here's a part of the debug logging:
|
Think I found the problem, obtaining an IP address takes more then 30 seconds... :( |
I too am not able to get this patch working against Vagrant 1.7.4 and vagrant-vsphere 1.5.0.
|
The issue I had was because aquiring an IP took too long triggering a bug causing the timeout not to be honored. see hashicorp/vagrant#6229 |
+1 this in combination with the 1.8.1 fix of vagrant that @pvanbuijtene mentioned got it working for me. Had to do manual fix on vagrant 1.7.4 installation also, as higher version of vagrant not working on windows currently because of nokogiri issue wit ruby 2.2.0. |
Looking into this now, sorry for the delay. |
Works for me with:
Unfortunately I don't have a Windows machine readily available to verify the change myself there, but it sounds like it's working. @pvanbuijtene and @dbarrett84: would either of you like to open a new issue with the 1.8 problems you're seeing? |
use Vagrant core API for waiting of communicator
Merged, putting together a release. |
There's a pull request already waiting to be merged for the 1.8 problems: Thanks Michael, will test out the new release as soon as i can! |
Ah, great. I misunderstood, thought the 1.8 issue was related to vagrant-vsphere. Thanks! |
@pvanbuijtene how did you manually fix it? I have this issue with vagrant 1.7.4 and vagrant-vsphere 1.6.0. |
This is a fix for WinRM connection issue in #144.
Vagrant core now provides a common method for waiting of guest machine loading and communicator initialization. It supports both SSH and WinRM, so there is no need to keep a custom code in the plugin anymore.