[chef] Re: Re: Re: Re: Re: Re: Re: Re: 500 Server error


Chronological Thread 
  • From: Tristan Sloughter < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: 500 Server error
  • Date: Wed, 5 Jan 2011 14:12:06 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=KX4j8WXN71sZ64mBNwfTN/K6IGnOB91haVZxfzuP5o28RJqcoNQgl/EfssP+Ka75Us AdQzIUYDgG1rw13QKeAUnrxslQhVVEYnwT2oPs7FtwMwgsAPlHkREe8imCfD0TOh2oaK KRK4VvdHutng6ZqZe7JoHOwNZfny8DE5c29gg=

Thanks, I also posted that I found the solution in the irc channel. I found it on

http://ruxable.com/2010/10/chef-server-connection-failed-to-rabbitmq-using-bunny-protocol-as-user-chef/

But I also had to give the amqp password to the add_user command.

Really weird that after running update this happened..

Thanks,
Tristan

On Wed, Jan 5, 2011 at 1:37 PM, Sean OMeara < "> > wrote:
Jump on freenode #chef

On Wed, Jan 5, 2011 at 2:33 PM, Tristan Sloughter
< "> > wrote:
> Thanks, Sean.
> Man, this is not a good day for me and Chef. Now I'm suddenly getting this
> new 500 error when I run the chef client as well as if I do a knife cookbook
> upload when it gets to the INFO: Uploading files. Very weird is I see the
> files (recipes and templates) when I go to the web interface.
> [Wed, 05 Jan 2011 13:31:15 -0600] DEBUG: Sending HTTP Request via PUT to
> 10.36.34.41:4000/nodes/ecduat02vm01
> [Wed, 05 Jan 2011 13:31:18 -0600] WARN: HTTP Request Returned 500 Internal
> Server Error: Connection failed - user: chef
> /usr/lib/ruby/1.8/net/http.rb:2097:in `error!': 500 "Internal Server Error"
> (Net::HTTPFatalError)
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/rest.rb:229:in
> `api_request'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/rest.rb:280:in
> `retriable_rest_request'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/rest.rb:210:in
> `api_request'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/rest.rb:126:in
> `put_rest'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/node.rb:502:in `save'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:175:in
> `build_node'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/client.rb:75:in `run'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:212:in
> `run_application'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in
> `loop'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application/client.rb:202:in
> `run_application'
>         from
> /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/../lib/chef/application.rb:62:in
> `run'
>         from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/chef-client:26
>         from /usr/bin/chef-client:19:in `load'
>         from /usr/bin/chef-client:19
> On Wed, Jan 5, 2011 at 12:43 PM, Sean OMeara < "> > wrote:
>>
>> Unfortunately no, not currently.
>>
>> Centos5 has a lot of old libraries that make it a real pain to keep up
>> with.
>>
>> I plan to provide bundler-ized RPMs for Centos6 (once it comes out)
>>
>> They are currently available for fedora13 here:
>> http://yum.afistfulofservers.net/affs-chef/fedora/13/x86_64/
>>
>> -s
>>
>> On Wed, Jan 5, 2011 at 1:38 PM, Tristan Sloughter
>> < "> > wrote:
>> > Thanks. It seems the latest version of Chef in the EPEL repos is 0.9.8,
>> > is
>> > this true? Is there another repo to use for centos that is updated more
>> > often?
>> > On Wed, Jan 5, 2011 at 12:29 PM, Bryan McLellan < "> >
>> > wrote:
>> >>
>> >> On Wed, Jan 5, 2011 at 10:21 AM, Tristan Sloughter
>> >> < "> > wrote:
>> >> > Ah, yeah, I'm running 0.9.8. I should probably update, I think the
>> >> > problem I
>> >> > had with the template not updating on the client is fixed in a later
>> >> > version
>> >> > as well.
>> >>
>> >> There were some issues with early cookbook version implementations in
>> >> 0.9.8 [1][2][3]. Reading through those bugs may help you figure out
>> >> how to get that cookbook to load.
>> >>
>> >> btm
>> >>
>> >> [1] http://tickets.opscode.com/browse/CHEF-1607
>> >> [2] http://tickets.opscode.com/browse/CHEF-1571
>> >> [3] http://tickets.opscode.com/browse/CHEF-1747
>> >
>> >
>
>




Archive powered by MHonArc 2.6.16.

§