I typically see this when rabbitmq fails to start. Most commonly when there is a permissions problem on the log file.
//geoff
----- Forwarded Message -----
From: Billy Bob < " target="_blank"> >
To: " " target="_blank"> " < " target="_blank"> >
Sent: Tuesday, February 21, 2012 3:54 AM
Subject: [chef]
Hi All,Hoping someone has been through this and may lend a hand in something that Ive ran into. My chef client run and authenticate correctly the issue is when they try to download a cookbook from the chef-server they get a 500 error. So ive tried the to purge the ldap cookbook and hope that the file is uploaded on the server, ive deleted the cookbook and increased the version number, and I have update all the files on the cookbook and it stills gives me the same error(of course with the checksum changed when the file is updated). Any way of actually serving the cookbook files on the filesystem?We did do a couchdb compactation prior to seeing this error, that was the only major changes done on the chef server.Here is what the error looks like:[Tue, 21 Feb 2012 10:25:42 +0000] INFO: *** Chef 0.10.8 ***[Tue, 21 Feb 2012 10:25:43 +0000] INFO: Run List is [role[base-ldapauth][Tue, 21 Feb 2012 10:25:43 +0000] INFO: Run List expands to [resolver, main, chef-client, ca-bundle, sudo, ntp, sysstat, snmp, postfix, syslog-ng, openssh, ldap::auth, glusterfs::client-aws-asis, autofs, swap-space, mount_ebs ][Tue, 21 Feb 2012 10:25:43 +0000] INFO: Starting Chef Run for machine1[Tue, 21 Feb 2012 10:25:43 +0000] INFO: Running start handlers[Tue, 21 Feb 2012 10:25:43 +0000] INFO: Start handlers complete.[Tue, 21 Feb 2012 10:25:44 +0000] INFO: Loading cookbooks [apt, autofs, ca-bundle, chef-client, glusterfs, java, ldap, main, mount_ebs, ntp, openssh, postfix, resolver, snmp, sudo, swap-space, syslog-ng, sysstat, vmware, yum][Tue, 21 Feb 2012 10:25:45 +0000] ERROR: Server returned error for https://chef/cookbooks/ldap/0.5.0/files/0f09e3a00f9b97e20474dbc557bcf126, retrying 1/5 in 3s[Tue, 21 Feb 2012 10:25:48 +0000] ERROR: Server returned error for https://chef/cookbooks/ldap/0.5.0/files/0f09e3a00f9b97e20474dbc557bcf126, retrying 2/5 in 6s[Tue, 21 Feb 2012 10:25:55 +0000] ERROR: Server returned error for https://chef/cookbooks/ldap/0.5.0/files/0f09e3a00f9b97e20474dbc557bcf126, retrying 3/5 in 12s[Tue, 21 Feb 2012 10:26:07 +0000] ERROR: Server returned error for https://chef/cookbooks/ldap/0.5.0/files/0f09e3a00f9b97e20474dbc557bcf126, retrying 4/5 in 17s[Tue, 21 Feb 2012 10:26:24 +0000] ERROR: Server returned error for https://chef/cookbooks/ldap/0.5.0/files/0f09e3a00f9b97e20474dbc557bcf126, retrying 5/5 in 38s[Tue, 21 Feb 2012 10:27:03 +0000] ERROR: Running exception handlers[Tue, 21 Feb 2012 10:27:03 +0000] FATAL: Saving node information to /var/cache/chef/failed-run-data.json[Tue, 21 Feb 2012 10:27:03 +0000] ERROR: Exception handlers complete[Tue, 21 Feb 2012 10:27:03 +0000] ERROR: Net::HTTPFatalError: 500 "Internal Server Error"[Tue, 21 Feb 2012 10:27:03 +0000] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out[Tue, 21 Feb 2012 10:27:03 +0000] ERROR: Sleeping for 1800 seconds before trying again
-------------------------------------------------------------------------------------On the chef server the following file can be located on the filesystem::/var/lib/chef/cookbook_index# find . -name 0f09e3a00f9b97e20474dbc557bcf126./0f/0f09e3a00f9b97e20474dbc557bcf126:/var/lib/chef/cookbook_index# cat ./0f/0f09e3a00f9b97e20474dbc557bcf126maintainer "MYCO"maintainer_email " " target="_blank"> "description "Configures LDAP clients and servers"version "0.5"depends "openssh"-----------------------------------------------------------------------Here are the chef server.log, solr.log, and jettly.log that im seeing:
---------------------------------------------------Here are the stack traces from the client:Generated at Tue Feb 21 11:18:15 +0000 2012Net::HTTPFatalError: 500 "Internal Server Error"/usr/lib/ruby/1.8/net/http.rb:2105:in `error!'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/rest.rb:273:in `streaming_request'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/rest.rb:288:in `retriable_rest_request'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/rest.rb:251:in `streaming_request'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/rest.rb:112:in `get_rest'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:378:in `sync_cookbook_file_cache'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:359:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:359:in `sync_cookbook_file_cache'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:357:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:357:in `sync_cookbook_file_cache'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:322:in `sync_cookbooks'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:321:in `each'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:321:in `sync_cookbooks'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:297:in `sync_cookbooks'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:191:in `setup_run_context'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:159:in `run'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:239:in `run_application'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in `loop'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application/client.rb:229:in `run_application'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/application.rb:67:in `run'/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/chef-client:26/usr/bin/chef-client:19:in `load'/usr/bin/chef-client:19
Archive powered by MHonArc 2.6.16.