-
Notifications
You must be signed in to change notification settings - Fork 573
Windows EC2 Instance: Waiting for SSH to become available... #180
Comments
@mitchellh any chance this issue and WinRM support can please be prioritized? Unless I've missed something in my test runs this is blocking a hands off provisioner run on a windows vanilla AMI base. This is somewhat a bit contrary to what's stated on the 1.6 feature preview blog: https://www.vagrantup.com/blog/feature-preview-vagrant-1-6-windows.html |
I too am having the same issue with my AWS vagrant config. My command window just blocks. Here is my vagrant file. Vagrant.configure("2") do |config|
end |
Are you sure it's actually trying to connect to SSH?
|
@MartinSGill you are right - I was also sitting there "Waiting for SSH to become available" but your comment did the trick - once I opened up the default port for WinRM (5985) on the VPC firewall, I was able to get passed that failure. Now I just need to figure out how to deal with the rsync failure that occurred right afterward. |
Did you guys ever get winrm set up to provision your windows ec2 instances? I'm getting this output in debug mode; however, none of my provision scripts ever work:
My provision script is the following: |
@dav92lee I don't think I ever did. You can see my attempts for vagrant with ec2 and windows here: https://github.com/jakefeasel/sqlfiddle2/blob/master/Vagrantfile#L68 As you can see from the comments, I gave up trying to run the powershell provisioner in that environment, and instead just have the provisioning done prior to creating the AMI. |
Is there no way to test WinRm via knife or whatever other tools you might be using? I imagine that this might break how we're spitting out shares/mounts to get chef-solo to run on the VM but I'd be happy if we could test for the open port then issue a
knife bootstrap windows winrm $host
style command or similar. I'm not sure if this fits into the whole mantra but I sort of feel like there hasn't been much support for this sort of issue. Let me know what you think.The text was updated successfully, but these errors were encountered: