Issue #16448 has been reported by Jason Smith. ---------------------------------------- Bug #16448: Puppetmaster hung without error while to failing to connect to activemq. https://projects.puppetlabs.com/issues/16448
Author: Jason Smith Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.7.19 Keywords: Branch: We have a scalable puppetmaster system setup with Apache, Phusion Passenger, the Puppet queue daemon and Apache's ActiveMQ. The activemq process died on our server and resulted in what looked like a hung puppetmaster with no indication of what the problem was in the system's log files. Only after some careful debugging we traced the hung client connections to a hung apache process, which was just waiting to read from a unix socket. We weren't sure what it was waiting for so we just started stracing all other puppetmaster processes and found what was probably a passenger started puppetmasterd rack processes that was just looping and repeatedly trying to connect to localhost:61613 (the activemq port) and getting connection refused. Would it be possible to improve the error handling of these types of errors so they are logged to the system log? It would make it a lot easier to see what was wrong, instead of trying to look for hung processes and errors by stracing various processes. I don't know that much about the puppet code, and if it works any differently when run via apache and passenger. Is the part of the code that connects to activemq here: puppet/util/queue/stomp.rb? If so, it looks like it should report errors if it can't connect so I don't know why we didn't see any errors. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
