Skip to content

Instantly share code, notes, and snippets.

@jmahowald
Created March 20, 2015 19:36
Show Gist options
  • Save jmahowald/118fa9c1a9fa4c2416b9 to your computer and use it in GitHub Desktop.
Save jmahowald/118fa9c1a9fa4c2416b9 to your computer and use it in GitHub Desktop.
Issues with windows guest support
bundle exec kitchen converge -l debug devops-wfm
-----> Starting Kitchen (v1.3.2.dev)
D [Vagrant command] BEGIN (vagrant --version)
D [Vagrant command] END (0m0.43s)
D Berksfile found at /Users/josh/workspace/projects/chefgen/localization/Berksfile, loading Berkshelf
D Berkshelf 3.2.3 library loaded
D Berksfile found at /Users/josh/workspace/projects/chefgen/localization/Berksfile, loading Berkshelf
D Berkshelf 3.2.3 previously loaded
-----> Creating <devops-wfm>...
D <devops-wfm> is synchronizing on Kitchen::Driver::Vagrant#create
D <devops-wfm> is messaging Kitchen::Driver::Vagrant#create
D Creating Vagrantfile for <devops-wfm> (/Users/josh/workspace/projects/chefgen/localization/.kitchen/kitchen-vagrant/kitchen-localization-devops-wfm/Vagrantfile)
D ------------
D Vagrant.configure("2") do |c|
D c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
D c.vm.box = "mwrock/Windows2012R2"
D c.vm.box_url = "https://vagrantcloud.com/mwrock/Windows2012R2"
D c.vm.hostname = "wfm.service.consul"
D c.ssh.username = "vagrant"
D c.ssh.password = "vagrant"
D c.vm.network(:forwarded_port, {:guest=>3389, :host=>33389})
D c.vm.network(:private_network, {:ip=>"10.250.250.3"})
D c.vm.synced_folder ".", "/vagrant", disabled: true
D c.vm.provider :virtualbox do |p|
D p.customize ["modifyvm", :id, "--memory", "2048"]
D end
D end
D ------------
D [Vagrant command] BEGIN (vagrant up --no-provision --provider virtualbox)
Bundler is using a binstub that was created for a different gem.
This is deprecated, in future versions you may need to `bundle binstub vagrant` to work around a system/bundle conflict.
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'mwrock/Windows2012R2' is up to date...
==> default: VirtualBox VM is already running.
D [Vagrant command] END (0m3.16s)
D [Vagrant command] BEGIN (vagrant ssh-config)
D [Vagrant command] END (0m1.34s)
D [WinRM] opening remote shell on plaintext::http://127.0.0.1:5985/wsman<{:disable_sspi=>true, :basic_auth_only=>true, :user=>"vagrant", :pass=>"vagrant"}>
D [WinRM] connection failed (#<Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 5985 (http://127.0.0.1:5985)>)
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds
D [WinRM] opening remote shell on plaintext::http://127.0.0.1:5985/wsman<{:disable_sspi=>true, :basic_auth_only=>true, :user=>"vagrant", :pass=>"vagrant"}>
D [WinRM] connection failed (#<Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 5985 (http://127.0.0.1:5985)>)
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds
bundle exec kitchen converge -l debug devops-wfm
-----> Starting Kitchen (v1.3.2.dev)
D [Vagrant command] BEGIN (vagrant --version)
D [Vagrant command] END (0m0.35s)
D Berksfile found at /Users/josh/workspace/projects/chefgen/localization/Berksfile, loading Berkshelf
D Berkshelf 3.2.3 library loaded
D Berksfile found at /Users/josh/workspace/projects/chefgen/localization/Berksfile, loading Berkshelf
D Berkshelf 3.2.3 previously loaded
-----> Creating <devops-wfm>...
D <devops-wfm> is synchronizing on Kitchen::Driver::Vagrant#create
D <devops-wfm> is messaging Kitchen::Driver::Vagrant#create
D Creating Vagrantfile for <devops-wfm> (/Users/josh/workspace/projects/chefgen/localization/.kitchen/kitchen-vagrant/kitchen-localization-devops-wfm/Vagrantfile)
D ------------
D Vagrant.configure("2") do |c|
D c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
D c.vm.box = "mwrock/Windows2012R2"
D c.vm.box_url = "https://vagrantcloud.com/mwrock/Windows2012R2"
D c.ssh.username = "vagrant"
D c.ssh.password = "vagrant"
D c.vm.network(:forwarded_port, {:guest=>3389, :host=>33389})
D c.vm.network(:private_network, {:ip=>"10.250.250.3"})
D c.vm.synced_folder ".", "/vagrant", disabled: true
D c.vm.provider :virtualbox do |p|
D p.customize ["modifyvm", :id, "--memory", "2048"]
D end
D end
D ------------
D [Vagrant command] BEGIN (vagrant up --no-provision --provider virtualbox)
Bundler is using a binstub that was created for a different gem.
This is deprecated, in future versions you may need to `bundle binstub vagrant` to work around a system/bundle conflict.
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'mwrock/Windows2012R2' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 3389 => 33389 (adapter 1)
default: 22 => 2200 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2200
default: SSH username: vagrant default: SSH auth method: password
@jmahowald
Copy link
Author

when creating a new vm, windows_guest_support on kithchen-vagrant (0469a4) doesn't seem to do anything with winrm but a second call to converge attempts to use winrm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment