Chef exec rake allinone Fails


#1

Hi all,

I’m having an issue running the chef exec rake allinone command to install openstack. I’m using vagrant and virtualbox. Below is the output I get when I run it. I’m very new to this, so sorry if this is a simple thing but any guidance on getting this working would be greatly appreciated!

courtney@CTPCourtney:~/openstack-chef-repo$ chef exec rake allinone
chef exec chef-client --force-formatter --no-color -z --config /home/courtney/openstack-chef-repo/.chef/knife.rb vagrant_linux.rb allinone.rb
[2016-05-06T12:07:30+08:00]
INFO: Started chef-zero at chefzero://localhost:8889 with repository at
/home/courtney/openstack-chef-repo
One version per cookbook

[2016-05-06T12:07:30+08:00] INFO: Forking chef instance to converge…
Starting Chef Client, version 12.8.1
[2016-05-06T12:07:30+08:00] INFO: *** Chef 12.8.1 ***
[2016-05-06T12:07:30+08:00] INFO: Chef-client pid: 7290
[2016-05-06T12:07:33+08:00] INFO: Run List is []
[2016-05-06T12:07:33+08:00] INFO: Run List expands to []
[2016-05-06T12:07:33+08:00] INFO: Starting Chef Run for nodienode
[2016-05-06T12:07:33+08:00] INFO: Running start handlers
[2016-05-06T12:07:33+08:00] INFO: Start handlers complete.
[2016-05-06T12:07:33+08:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: []
[2016-05-06T12:07:34+08:00] INFO: Loading cookbooks []
Synchronizing Cookbooks:
Installing Cookbook Gems:
Compiling Cookbooks…

Running handlers:
[2016-05-06T12:07:35+08:00] ERROR: Running exception handlers
Running handlers complete
[2016-05-06T12:07:35+08:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 04 seconds
[2016-05-06T12:07:35+08:00] FATAL: Stacktrace dumped to /home/courtney/openstack-chef-repo/.chef/local-mode-cache/cache/chef-stacktrace.out
[2016-05-06T12:07:35+08:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-05-06T12:07:35+08:00]
ERROR: Cookbook @recipe_files not found. If you’re loading
@recipe_files from another cookbook, make sure you configure the
dependency in your metadata
[2016-05-06T12:07:35+08:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
rake aborted!
Command failed with status (1): [chef exec chef-client --force-formatter --…]
/home/courtney/openstack-chef-repo/Rakefile:13:in run_command' /home/courtney/openstack-chef-repo/Rakefile:42:inblock in <top (required)>'
Tasks: TOP => allinone
(See full trace by running task with --trace)


#2

Hi!

I suggest coming to #openstack-chef on freenode to aks there, there’s a couple questions we should walk through first to figure out what’s happening for you.

:slight_smile:


#3

Sure thing! I didn’t want to go dumping a load of stuff in the IRC so thought I’d post here :slight_smile:


#4

Unfortunately no one answered.


#5

What release of ChefDK are you using? 0.9.0 is the most recent that is known to work without Weird Things happening.


#6

I’m using 0.12.0


#7

Try downgrading to 0.9.0, as that one is known working. I’ll do some
testing with newer releases of chefdk to see what works for functional
testing.