Created
March 20, 2015 21:47
-
-
Save webframp/781e9050c71b4b36ab43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####trying to run kitchen setup | |
####.kitchen.yml contents | |
--- | |
driver_plugin: vagrant | |
provisioner: | |
name: chef_zero | |
platforms: | |
- name: windows-2012R2 | |
driver_config: | |
box_url: https://wrock.blob.core.windows.net/vhds/vbox2012r2.box | |
vm_hostname: false | |
communicator: winrm | |
suites: | |
- name: default | |
run_list: | |
- recipe[appserver::default] | |
attributes: | |
####output: | |
C:\src\cookbook-appserver [master]> kitchen list | |
Instance Driver Provisioner Verifier Transport Last Action | |
default-windows-2012R2 Vagrant ChefZero Busser Ssh <Not Created> | |
C:\src\cookbook-appserver [master]> kitchen setup | |
-----> Starting Kitchen (v1.3.2.dev) | |
-----> Creating <default-windows-2012R2>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'opscode-windows-2012R2'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: kitchen-cookbook-appserver-default-windows-2012R2_default_1426871073579_16418 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 5985 => 55985 (adapter 1) | |
default: 22 => 2222 (adapter 1) | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
==> default: Machine booted and ready! | |
==> default: Checking for guest additions in VM... | |
==> default: Machine not provisioning because `--no-provision` is specified. | |
Waiting for SSH service on 127.0.0.1:2222, retrying in 3 seconds | |
Waiting for SSH service on 127.0.0.1:2222, retrying in 3 seconds | |
Waiting for SSH service on 127.0.0.1:2222, retrying in 3 seconds | |
... whole lot of this ... | |
Waiting for SSH service on 127.0.0.1:2222, retrying in 3 seconds | |
Waiting for SSH service on 127.0.0.1:2222, retrying in 3 seconds | |
Waiting for SSH service on 127.0.0.1:2222, retrying in 3 seconds | |
$$$$$$ [SSH] connection failed, terminating (#<Timeout::Error: execution expired>) | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: Failed to complete #create action: [SSH session could not be established] | |
>>>>>> ---------------------- | |
>>>>>> Please see .kitchen/logs/kitchen.log for more details | |
>>>>>> Also try running `kitchen diagnose --all` for configuration | |
################# | |
####.kitchen.yml with | |
--- | |
driver_plugin: vagrant | |
provisioner: | |
name: chef_zero | |
platforms: | |
- name: windows-2012R2 | |
driver_config: | |
box_url: https://wrock.blob.core.windows.net/vhds/vbox2012r2.box | |
communicator: winrm | |
transport: | |
name: winrm | |
suites: | |
- name: default | |
run_list: | |
- recipe[appserver::default] | |
attributes: | |
####output: | |
C:\src\cookbook-appserver [master]> kitchen list | |
Instance Driver Provisioner Verifier Transport Last Action | |
default-windows-2012R2 Vagrant ChefZero Busser Winrm <Not Created> | |
C:\src\cookbook-appserver [master]> kitchen setup | |
-----> Starting Kitchen (v1.3.2.dev) | |
-----> Creating <default-windows-2012R2>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'opscode-windows-2012R2'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: kitchen-cookbook-appserver-default-windows-2012R2_default_1426877093154_28054 | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat | |
==> default: Forwarding ports... | |
default: 5985 => 55985 (adapter 1) | |
default: 22 => 2222 (adapter 1) | |
==> default: Booting VM... | |
==> default: Waiting for machine to boot. This may take a few minutes... | |
==> default: Machine booted and ready! | |
==> default: Checking for guest additions in VM... | |
==> default: Machine not provisioning because `--no-provision` is specified. | |
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds | |
... lots more of this... | |
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds | |
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds | |
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds | |
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds | |
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds | |
Waiting for WinRM service on http://127.0.0.1:5985/wsman, retrying in 3 seconds | |
$$$$$$ [WinRM] connection failed, terminating (#<WinRM::WinRMAuthorizationError: WinRM::WinRMAuthorizationError>) | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: Failed to complete #create action: [WinRM::WinRMAuthorizationError] | |
>>>>>> ---------------------- | |
>>>>>> Please see .kitchen/logs/kitchen.log for more details | |
>>>>>> Also try running `kitchen diagnose --all` for configuration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment