Our puppet crashes on about 10% of the hosts every day. I started one client in debug node and here''s what i got: debug: Loaded state in 0.03 seconds debug: Retrieved facts in 0.80 seconds debug: Calling puppetmaster.freshness /usr/lib/ruby/1.8/timeout.rb:54:in `timeout'': execution expired (Timeout::Error) from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'' from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'' from /usr/lib/ruby/1.8/net/http.rb:542:in `start'' from /usr/lib/ruby/1.8/net/http.rb:1032:in `request'' from /usr/lib/ruby/1.8/net/http.rb:989:in `post2'' from /usr/lib/ruby/1.8/xmlrpc/client.rb:535:in `do_rpc'' from /usr/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2'' from /usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call'' ... 22 levels... from /usr/lib/ruby/1.8/puppet/external/event-loop/event- loop.rb:116:in `iterate'' from /usr/lib/ruby/1.8/puppet/external/event-loop/event- loop.rb:107:in `run'' from /usr/lib/ruby/1.8/puppet.rb:363:in `start'' from /usr/sbin/puppetd:459 Please change the code so it would handle all connectivity/session exceptions properly and would not crash/die. At least let it abort and retry again later if such an error happened. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2008-Apr-11 17:22 UTC
[Puppet Users] Re: Puppet should not crash on connection timeout
On Apr 11, 2008, at 11:55 AM, alj wrote:> Please change the code so it would handle all connectivity/session > exceptions properly and would not crash/die. > At least let it abort and retry again later if such an error happened.This has been fixed for a while in Puppet, I believe. I assume you''re using 0.23, at the latest. And this is an open source project that comes with no warranty or promises. If you want something resembling a warranty, then you need to buy a support contract. Otherwise, bugs are fixed as deemed appropriate by the community who does the fixing. -- An expert is a person who has made all the mistakes that can be made in a very narrow field. - Niels Bohr --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---