# Chef exec rake allinone Fails

**URL:** <https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422>\
**Category:** Chef Infra (archive)\
**Created:** [May 6, 2016, 4:22am UTC](https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422 "2016-05-06T04:22:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![S3khmet](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@S3khmet](https://discourse.chef.io/u/S3khmet)\
**Post date:** [May 6, 2016, 4:22am UTC](https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422/1 "2016-05-06T04:22:07Z")

</div>

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:in`block in \<top (required)\>'  
Tasks: TOP =\> allinone  
(See full trace by running task with --trace)

---

<div class="post-metadata">

**Author:** ![jjasghar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/jjasghar/32/1691_2.png) [@jjasghar](https://discourse.chef.io/u/jjasghar)\
**Post date:** [May 6, 2016, 4:36am UTC](https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422/2 "2016-05-06T04:36:29Z")

</div>

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.

🙂

---

<div class="post-metadata">

**Author:** ![S3khmet](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@S3khmet](https://discourse.chef.io/u/S3khmet)\
**Post date:** [May 6, 2016, 4:41am UTC](https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422/3 "2016-05-06T04:41:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![S3khmet](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@S3khmet](https://discourse.chef.io/u/S3khmet)\
**Post date:** [May 6, 2016, 12:17pm UTC](https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422/4 "2016-05-06T12:17:51Z")

</div>

Unfortunately no one answered.

---

<div class="post-metadata">

**Author:** ![sca](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@sca](https://discourse.chef.io/u/sca)\
**Post date:** [May 6, 2016, 3:53pm UTC](https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422/5 "2016-05-06T15:53:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![S3khmet](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@S3khmet](https://discourse.chef.io/u/S3khmet)\
**Post date:** [May 8, 2016, 10:06am UTC](https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422/6 "2016-05-08T10:06:26Z")

</div>

I’m using 0.12.0

---

<div class="post-metadata">

**Author:** ![sca](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@sca](https://discourse.chef.io/u/sca)\
**Post date:** [May 13, 2016, 4:57am UTC](https://discourse.chef.io/t/chef-exec-rake-allinone-fails/8422/7 "2016-05-13T04:57:35Z")

</div>

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.
