Skip to content

Instantly share code, notes, and snippets.

@radamant
Created May 11, 2009 23:20
Show Gist options
  • Save radamant/110234 to your computer and use it in GitHub Desktop.
Save radamant/110234 to your computer and use it in GitHub Desktop.
[apearson@aipnode ~]$ sudo chef-client
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 400 "Bad Request" (Net::HTTPServerException)
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/rest.rb:227:in `run_request'
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/rest.rb:90:in `post_rest'
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/client.rb:205:in `authenticate'
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/lib/chef/client.rb:70:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/bin/chef-client:125
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/bin/chef-client:119:in `loop'
from /usr/lib/ruby/gems/1.8/gems/chef-0.6.2/bin/chef-client:119
from /usr/bin/chef-client:19:in `load'
from /usr/bin/chef-client:19
~ Started request handling: Mon May 11 16:26:12 -0700 2009
~ Params: {"format"=>nil, "action"=>"show", "id"=>"aipnode", "controller"=>"chef_server_slice/nodes"}
~ Cannot load node aipnode - (Merb::ControllerExceptions::NotFound)
/usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.6.2/app/controllers/nodes.rb:39:in `show'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/abstract_controller.rb:315:in `send'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/abstract_controller.rb:315:in `_call_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/merb_controller.rb:252:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:100:in `dispatch_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:100:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:100:in `dispatch_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:74:in `handle'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:36:in `handle'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/request_handler.rb:81:in `process_request'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_request_handler.rb:203:in `main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/application_spawner.rb:110:in `run'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/application_spawner.rb:67:in `spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/utils.rb:181:in `safe_fork'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/application_spawner.rb:60:in `spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/application_spawner.rb:45:in `spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:158:in `spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:282:in `handle_spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `__send__'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/bin/passenger-spawn-server:61
~ Params: {"format"=>nil, "action"=>"show", "id"=>"aipnode", "controller"=>"chef_server_slice/nodes"}
~
~ Started request handling: Mon May 11 16:26:12 -0700 2009
~ Params: {"format"=>nil, "action"=>"show", "id"=>"aipnode", "controller"=>"chef_server_slice/openid_register"}
~ {:dispatch_time=>0.005806, :before_filters_time=>0.000101, :action_time=>0.004863, :after_filters_time=>0.0}
~
~ Started request handling: Mon May 11 16:26:12 -0700 2009
~ Params: {"submit"=>"Verify", "action"=>"start", "openid_identifier"=>"https://aipchef.amer.gettywan.com/openid/server/node/aipnode", "controller"=>"chef_server_slice/openid_consumer"}
~ WARNING: making https request to https://aipchef.amer.gettywan.com/openid/server/node/aipnode without verifying server certificate; no CA path was specified.
~ Discovery failed for https://aipchef.amer.gettywan.com/openid/server/node/aipnode: Failed to fetch identity URL https://aipchef.amer.gettywan.com/openid/server/node/aipnode : Error connecting to SSL URL https://aipchef.amer.gettywan.com/openid/server/node/aipnode: hostname does not match - (Merb::ControllerExceptions::BadRequest)
/usr/lib/ruby/gems/1.8/gems/chef-server-slice-0.6.2/app/controllers/openid_consumer.rb:44:in `start'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/abstract_controller.rb:315:in `send'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/abstract_controller.rb:315:in `_call_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/controller/merb_controller.rb:252:in `_dispatch'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:100:in `dispatch_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:100:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:100:in `dispatch_action'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:74:in `handle'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/dispatch/dispatcher.rb:36:in `handle'
/usr/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/rack/application.rb:17:in `call'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/request_handler.rb:81:in `process_request'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_request_handler.rb:203:in `main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/application_spawner.rb:110:in `run'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/application_spawner.rb:67:in `spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/utils.rb:181:in `safe_fork'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/application_spawner.rb:60:in `spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/application_spawner.rb:45:in `spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:158:in `spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:282:in `handle_spawn_application'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `__send__'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously'
/usr/lib/ruby/gems/1.8/gems/passenger-2.2.2/bin/passenger-spawn-server:61
~ Params: {"submit"=>"Verify", "action"=>"start", "openid_identifier"=>"https://aipchef.amer.gettywan.com/openid/server/node/aipnode", "controller"=>"chef_server_slice/openid_consumer"}
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment