[chef] Debugging dependencies


Chronological Thread 
  • From: Arnold Krille < >
  • To: < >
  • Subject: [chef] Debugging dependencies
  • Date: Thu, 08 May 2014 10:40:28 +0200

Hi all,

since some days my opensource-chef-server is acting up. Most hosts work just fine, for some hosts erchef takes ~1000(!) seconds to process the dependencies. And eats all the cpu. Thankfully this doesn't block other clients from getting their data. But some hosts haven't been able to get the data for a successfull chef run for some days now. It seems to be some of my cookbooks, alone or in combination. But I am currently lacking data to debug this.

Is there a way to make erchef output the dep-cycles its calculating per request? Or is there a way to query dependencies on chef-server by hand?
I tried setting "erchef['log_level'] = :debug" in /etc/chef-server/chef-server.rb followed by "chef-server-ctl reconfigure" but that resulted only in one info-level logline per request.

Thanks in advance,

Arnold



Archive powered by MHonArc 2.6.16.

§