[chef] Re: Post installation issues


Chronological Thread 
  • From: Arjuna Christensen < >
  • To:
  • Subject: [chef] Re: Post installation issues
  • Date: Fri, 7 Aug 2009 00:20:58 +1200

Hiya,


Hello,

I am encountering a few problems with my first installation of Chef. I have
installed Chef on a fresh install of Ubuntu 9.04, which uses universe
repositories (this is on a linode server, fyi). 
[snip]

The logs (/var/log/chef/server.log) contain this:
~ Started request handling: Thu Aug 06 11:47:37 +0000 2009
~ Params: {"action"=>"index", "controller"=>"chef_server_slice/nodes"}
~ 404 "Object Not Found" - (Net::HTTPServerException)
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!'
/var/lib/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:232:in `run_request'
/var/lib/gems/1.8/gems/chef-0.7.4/lib/chef/rest.rb:85:in `get_rest'
/var/lib/gems/1.8/gems/chef-0.7.4/lib/chef/couchdb.rb:124:in `list'
/var/lib/gems/1.8/gems/chef-0.7.4/lib/chef/node.rb:351:in `list'
/var/lib/gems/1.8/gems/chef-server-slice-0.7.4/app/controllers/nodes.rb:31:in
`index'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:315:in
`send'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:315:in
`_call_action'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstract_controller.rb:289:in
`_dispatch'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/merb_controller.rb:252:in
`_dispatch'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:100:in
`dispatch_action'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:100:in
`synchronize'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:100:in
`dispatch_action'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:74:in
`handle'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatcher.rb:36:in
`handle'
/var/lib/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/application.rb:17:in
`call'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/request_handler.rb:91:in
`process_request'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_request_handler.rb:206:in
`main_loop'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/application_spawner.rb:118:in
`run'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/application_spawner.rb:69:in
`spawn_application'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/utils.rb:182:in
`safe_fork'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/application_spawner.rb:62:in
`spawn_application'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/application_spawner.rb:45:in
`spawn_application'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb:158:in
`spawn_application'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb:286:in
`handle_spawn_application'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:351:in
`__send__'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:351:in
`main_loop'
/var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:195:in
`start_synchronously'
/var/lib/gems/1.8/gems/passenger-2.2.4/bin/passenger-spawn-server:61
~ Params: {"action"=>"index", "controller"=>"chef_server_slice/nodes"}
~

That's a 404, and a normal part of the node registration process - would you be able to show the correct 500 error? Also please crank up the debug logging (-l debug / log_level :debug)


Did I miss something during the installation process? Any hint is welcome.
Thank you very much in advance.

Adrien.

-- 
AJ Christensen, Software Engineer




Archive powered by MHonArc 2.6.16.

§