- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Problem with chef-client
- Date: Wed, 19 Oct 2011 08:24:44 -0700
On Tuesday, October 18, 2011 at 1:21 PM,
wrote:
>
If it helps any, on the server side in the logs the error I see is
>
>
merb : chef-server (api) : worker (port 4000) ~ 400 "Bad Request" -
>
(Net::HTTPServerException)
>
/usr/lib/ruby/1.8/net/http.rb:2105:in `error!'
>
/usr/lib64/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/rest.rb:237:in
>
`api_request'
>
/usr/lib64/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/rest.rb:288:in
>
`retriable_rest_request'
>
/usr/lib64/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/rest.rb:218:in
>
`api_request'
>
/usr/lib64/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/rest.rb:130:in `put_rest'
>
/usr/lib64/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/couchdb.rb:114:in `store'
>
/usr/lib64/ruby/gems/1.8/gems/chef-0.10.4/lib/chef/node.rb:618:in `cdb_save'
>
/usr/lib64/ruby/gems/1.8/gems/chef-server-api-0.10.4/app/controllers/nodes.rb:69:in
>
`update'
>
What version of ruby and ohai are you running on these hosts? If you're not
on the latest version, can you try upgrading ohai? We've made some fixes
recently for multibyte characters, but maybe we have more work to do.
You can also find more information in the couchdb logs.
And yes, you can disable ohai plugins that you don't want:
http://wiki.opscode.com/display/chef/Disabling+Ohai+Plugins
--
Dan DeLeo
Archive powered by MHonArc 2.6.16.