- From: Adam Jacob <
>
- To:
- Subject: [chef] Re: Re: Re: 500 on client run
- Date: Mon, 28 Dec 2009 10:50:07 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kristof, how you doing with this?
Adam
Kristof Redei wrote:
>
Looks like version 0.9.0:
>
>
-bash-3.2$ sudo yum list | grep couch
>
couchdb.x86_64 0.9.0-2.el5
>
installed
>
couchdb.x86_64 0.10.0-1.el5 epel
>
>
>
>
On 12/22/09 7:22 PM, "Adam Jacob"
>
<
>
>
wrote:
>
>
This looks like a couchdb issue - what version are you running?
>
>
Adam
>
>
>
wrote:
>
>>> Hi all,
>
>>>
>
>>> for some reason my chef-client runs on all machines on which they've
>
>>> worked
>
>>> for
>
>>> months have started returning a 500, with the server log showing the
>
>>> following
>
>>> after I run 'sudo -E chef-client' on the client:
>
>>>
>
>>> ~ Started request handling: Tue Dec 22 18:51:13 -0500 2009
>
>>> ~ Params: {"format"=>nil, "action"=>"show", "id"=>"qafe01_example_com",
>
>>> "controller"=>"chef_server_slice/nodes"}
>
>>> ~ Cannot load node qafe01.example.com -
>
>>> (Merb::ControllerExceptions::NotFound)
>
>>> /usr/lib64/ruby/gems/1.8/gems/chef-server-slice-0.7.8/app/controllers/nodes.r
>
>>> b:39:in
>
>>> `show'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstr
>
>>> act_controller.rb:315:in
>
>>> `send'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstr
>
>>> act_controller.rb:315:in
>
>>> `_call_action'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/abstr
>
>>> act_controller.rb:289:in
>
>>> `_dispatch'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/controller/merb_
>
>>> controller.rb:252:in
>
>>> `_dispatch'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatc
>
>>> her.rb:100:in
>
>>> `dispatch_action'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatc
>
>>> her.rb:100:in
>
>>> `synchronize'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatc
>
>>> her.rb:100:in
>
>>> `dispatch_action'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatc
>
>>> her.rb:74:in
>
>>> `handle'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/dispatch/dispatc
>
>>> her.rb:36:in
>
>>> `handle'
>
>>> /usr/lib64/ruby/gems/1.8/gems/merb-core-1.0.12/lib/merb-core/rack/application
>
>>> .rb:17:in
>
>>> `call'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/requ
>
>>> est_handler.rb:91:in
>
>>> `process_request'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_
>
>>> request_handler.rb:206:in
>
>>> `main_loop'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/appl
>
>>> ication_spawner.rb:118:in
>
>>> `run'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/appl
>
>>> ication_spawner.rb:69:in
>
>>> `spawn_application'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/utils.rb:
>
>>> 182:in
>
>>> `safe_fork'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/appl
>
>>> ication_spawner.rb:62:in
>
>>> `spawn_application'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/appl
>
>>> ication_spawner.rb:45:in
>
>>> `spawn_application'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_man
>
>>> ager.rb:158:in
>
>>> `spawn_application'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_man
>
>>> ager.rb:286:in
>
>>> `handle_spawn_application'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_
>
>>> server.rb:351:in
>
>>> `__send__'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_
>
>>> server.rb:351:in
>
>>> `main_loop'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_
>
>>> server.rb:195:in
>
>>> `start_synchronously'
>
>>> /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.4/bin/passenger-spawn-server:61
>
>>> ~ Params: {"format"=>nil, "action"=>"show", "id"=>"qafe01.example.com",
>
>>> "controller"=>"chef_server_slice/nodes"}
>
>>> ~
>
>>>
>
>>> The web UI works fine, and registration and validations are also OK
>
>>> (i.e. if
>
>>> I
>
>>> delete the node and its registration, and then re-run the client, I get
>
>>> a 401
>
>>> and can then validate -- after that I start getting a 500 again). The
>
>>> server
>
>>> version is 0.7.8, and I've tried every client version from 0.7.4 to
>
>>> 0.7.14
>
>>> (also switched around ohai versions on both machines). Any ideas on
>
>>> what's
>
>>> going wrong here? As far as I know no configurations have been changed.
>
>>>
>
>>> thanks!
>
>>> Kristof
- --
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJLOP3fAAoJEK+ksDjf4JoCrzAIAJp4eotqqCMl45e3ei1ojAzX
BlNK5GZj9Xkg/kQ2q6upvQn7WOGy7M9AvDVq8jIwYC6tx9aXmfCOj2NsxTvb0aIR
n7YMBF15vA4aQ7+irAgZ3x7pPwwsiUXj1secGG66rrefupuoA+L89ygiZwE4iDjC
Kml+3plkrcrBFfAlYyhQ2DA24dqPIENUc96NQNafT86Sp5V80Rl5ndhvP+hqLSL/
MG8OZ3sHkyve7naDl5ySWgxm+7CAL6d4v1obzRNZugaCWsLa+PdfQhOGJMzJxecW
mkoTKVHYr1kqUc/ozvxx6RW2Pv+T9aILFw+BUz/dWI6a9mpc2D/VTgaJLofT660=
=GfD/
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.16.