[chef] Re: Windows Upgrade to Chef Client 11 Not Working


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Windows Upgrade to Chef Client 11 Not Working
  • Date: Thu, 4 Apr 2013 08:17:39 -0700


On Thursday, April 4, 2013 at 2:30 AM, Gibbons, Daniel (RBI-UK) wrote:

Hi,

 

I\xE2\x80\x99ve just upgraded my Win2008R2 server to Chef client v11 but when running my cookbooks with chef-solo I receive the following error:

 

Starting Chef Client, version 11.0.0\xE2\x86\x90[0m

Compiling Cookbooks...\xE2\x86\x90[0m

[2013-04-04T09:01:17+01:00] ERROR: Running exception handlers

[2013-04-04T09:01:17+01:00] ERROR: Exception handlers complete

Chef Client failed. 0 resources updated\xE2\x86\x90[0m

[2013-04-04T09:01:17+01:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out

[2013-04-04T09:01:17+01:00] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook chef_handler not found. If you're log chef_handler from another cookbook, make sure you configure the dependency in your metadata


You're probably hitting this issue:

http://docs.opscode.com/breaking_changes_chef_11.html#non-recipe-file-evaluation-includes-dependencies

Probably a cookbook in your repo has a dependency on chef_handler. Getting metadata dependencies correct is important for chef-solo on Chef 11, it uses this information to evaluate attribute (and other) files in a sane order.

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§