Hi, I’ve 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←[0m Compiling Cookbooks...←[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←[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 The stack trace reads: Chef::Exceptions::CookbookNotFound: Cookbook chef_handler not found. If you're loading chef_handler from another cookbook, make sure you configure the dependency
in your metadata C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/cookbook/cookbook_collection.rb:38:in `block in initialize' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mash.rb:77:in `yield' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mash.rb:77:in `default' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.16.0/lib/ohai/mash.rb:77:in `default' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:265:in `[]' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:265:in `each_cookbook_dep' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:243:in `add_cookbook_with_deps' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:244:in `block in add_cookbook_with_deps' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:266:in `each' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:266:in `each_cookbook_dep' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:243:in `add_cookbook_with_deps' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:244:in `block in add_cookbook_with_deps' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:266:in `each' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:266:in `each_cookbook_dep' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:243:in `add_cookbook_with_deps' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:244:in `block in add_cookbook_with_deps' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:266:in `each' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:266:in `each_cookbook_dep' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:243:in `add_cookbook_with_deps' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:87:in `block in cookbook_order' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:85:in `each' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:85:in `cookbook_order' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:97:in `compile_libraries' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context/cookbook_compiler.rb:70:in `compile' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/run_context.rb:86:in `load' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/client.rb:224:in `setup_run_context' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/client.rb:467:in `do_run' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/client.rb:200:in `run' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/application.rb:190:in `run_chef_client' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/application/solo.rb:239:in `block in run_application' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/application/solo.rb:231:in `loop' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/application/solo.rb:231:in `run_application' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/application.rb:73:in `run' C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/bin/chef-solo:25:in `<top (required)>' C:/opscode/chef/bin/chef-solo:23:in `load' C:/opscode/chef/bin/chef-solo:23:in `<main>' I’ve uninstalled v11 and put v10 back on and now everything works as normal. I don’t have the chef_handler receipe but wondering if this is now a dependency
in v11. Any suggestions? Thanks Dan ===================== DISCLAIMER ====================== |
Archive powered by MHonArc 2.6.16.