Skip to content

Instantly share code, notes, and snippets.

@feoh
Created October 27, 2014 20:50
Show Gist options
  • Save feoh/cc4b06e3abb00b820083 to your computer and use it in GitHub Desktop.
Save feoh/cc4b06e3abb00b820083 to your computer and use it in GitHub Desktop.
test-kitchen can't find my recipes and roles
[2014-10-27T20:30:52+00:00] INFO: Chef-client pid: 2085
Creating a new client identity for default-centos-65 using the validator key.
[2014-10-27T20:30:55+00:00] INFO: Client key /tmp/kitchen/client.pem is not present - registering
[2014-10-27T20:30:55+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/nodes/default-centos-65
[2014-10-27T20:30:55+00:00] INFO: Setting the run_list to ["role[master_cobbler]"] from CLI options
[2014-10-27T20:30:55+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/roles/master_cobbler
================================================================================
Error expanding the run_list:
================================================================================
Unexpected API Request Failure:
-------------------------------
Object not found: http://localhost:8889/roles/master_cobbler
[2014-10-27T20:30:55+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 3.293647123 seconds
[2014-10-27T20:30:55+00:00] ERROR: 404 "Not Found "
[2014-10-27T20:30:56+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
>>>>>> Converge failed on instance <default-centos-65>.
>>>>>> Please see .kitchen/logs/default-centos-65.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSH exited (1) for command: [sudo -E chef-client -z --config /tmp/kitchen/client.rb --log_level info --json-attributes /tmp/kitchen/dna.json]
>>>>>> ----------------------
FAIL: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment