Created
October 12, 2011 00:18
-
-
Save stuartrexking/1279859 to your computer and use it in GitHub Desktop.
Stacktrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generated at Wed Oct 12 00:12:50 +0000 2011 | |
Net::HTTPServerException: 400 "Bad Request" | |
/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:237:in `api_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:218:in `api_request' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/rest.rb:114:in `get_rest' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/search/query.rb:42:in `search' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language.rb:136:in `search' | |
/var/chef/cache/cookbooks/mongodb/definitions/mongodb.rb:137:in `from_file' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:50:in `instance_eval' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:50:in `method_missing' | |
/var/chef/cache/cookbooks/mongodb/recipes/replicaset.rb:24:in `from_file' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/cookbook_version.rb:578:in `load_recipe' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `each' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/run_context.rb:72:in `load' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/run_context.rb:69:in `each' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/run_context.rb:69:in `load' | |
/usr/lib/ruby/gems/1.8/gems/chef-0.10.4/bin/../lib/chef/client.rb:195: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' |
Ok, solved it already. Virtual machine needed to be restarted, probably something with the system time while the host went standby/sleep.
Hi,
The problem I was having was invalid code in one of the recipes.
Cheers
Stu
On Tue, Nov 15, 2011 at 2:36 AM, nickvermeij < ***@***.*** > wrote:
Ok, solved it already. Virtual machine needed to be restarted, probably
something with the system time while the host went standby/sleep.
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1279859
##
A Founder | www.wenzani.com
http://about.me/stuartrexking
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could you please let me know if you've found a solution to this error. I'm getting the same error running chef-client. Thanks in advance.