I am running kitchen create on mwrock/windows2012r2 vagrant box and I am getting this error:
>>>>>> ------Exception-------
Class: Kitchen::ActionFailed
Message: 1 actions failed.
Failed to complete #create action: [Expected process to exit with [0], but received '1'
---- Begin output of vagrant up --no-provision --provider virtualbox ----
STDOUT: 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: Couldn't find Cheffile at ./Cheffile.
==> default: Fixed port collision for 3389 => 3389. Now on port 2200.
==> default: Fixed port collision for 22 => 2222. Now on port 2201.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 3389 (guest) => 2200 (host) (adapter 1)
default: 5985 (guest) => 55985 (host) (adapter 1)
default: 5986 (guest) => 55986 (host) (adapter 1)
default: 22 (guest) => 2201 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: WinRM address: 127.0.0.1:55985
default: WinRM username: vagrant
default: WinRM execution_time_limit: PT2H
default: WinRM transport: negotiate
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
STDERR: Renaming the Windows guest failed. Most often this is because you've
specified a FQDN instead of just a host name.
Ensure the new guest name is properly formatted. Standard names may
contain letters (a-z, A-Z), numbers (0-9), and hypens (-), but no
spaces or periods (.). The name may not consist entirely of digits.
---- End output of vagrant up --no-provision --provider virtualbox ----
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-mwrock-windows2012R2
Please see .kitchen/logs/kitchen.log for more details
Also try runningkitchen diagnose --all
for configuration
my .kitchen.yml file is
---
driver:
name: vagrant
provisioner:
name: chef_zero
You may wish to disable always updating cookbooks in CI or other testing environments.
For example:
always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
transport:
name: winrm
elevated: true
platforms:
- name: mwrock/windows2012R2
suites:
- name: default
run_list:- recipe[j5_wrp::default]
verifier:
inspec_tests:- test/smoke/default
attributes:
- test/smoke/default
- recipe[j5_wrp::default]
This is happening for any windows box that I do kitchen create on. Does anybody have any ideas?
Thanks,
Mark