scott
2009-Oct-07 14:31 UTC
[Puppet Users] Thread safety/interleaving problem with 0.25 + passenger 2.2.5?
I recently upgraded to Puppet 0.25 and am trying to migrate to Passenger but am noticing a strange problem. It appears code is being cached inappropriately and puppet is refusing to hand out manifests or files since they aren''t authorized. If I restart httpd and then run two puppet clients in succession, the following is logged on the master: Oct 6 19:27:35 [redactedmaster] puppetmasterd[18777]: Starting Puppet server version 0.25.0 Oct 6 19:27:36 [redactedmaster] puppetmasterd[18777]: Compiled catalog for [redacted-hostA] in 0.62 seconds Oct 6 19:27:41 [redactedmaster] puppetmasterd[18777]: Denying access: Forbidden request: [redacted-hostA] (ip) access to /catalog/[redacted- hostB] [find] authenticated at line 0 Oct 6 19:27:41 [redactedmaster] puppetmasterd[18777]: Forbidden request: [redacted-hostA] (ip) access to /catalog/[redacted-hostB] [find] authenticated at line 0 Putting always_restart.txt into rack/tmp/ solves this, at the cost of some very verbose apache logging and presumably decreased performance. I''ve tried setting the Passenger spawn method to Conservative which did not seem to help. I''m very much a Passenger newbie but would prefer not to run mongrel if I can avoid it. Is this a known problem? Did I overlook a setting somewhere? The standalone server with webrick displays no such issue. -Scott --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Daniel Selans
2009-Oct-07 14:38 UTC
[Puppet Users] Re: Thread safety/interleaving problem with 0.25 + passenger 2.2.5?
We had roughly the same experience. Downgrading to passenger 2.2.2 fixed this issue for us. The only way how 2.2.5 worked was by adding always_restart.txt, which severely affects performance. scott wrote:> I recently upgraded to Puppet 0.25 and am trying to migrate to > Passenger but am noticing a strange problem. It appears code is being > cached inappropriately and puppet is refusing to hand out manifests or > files since they aren''t authorized. > > If I restart httpd and then run two puppet clients in succession, the > following is logged on the master: > > Oct 6 19:27:35 [redactedmaster] puppetmasterd[18777]: Starting Puppet > server version 0.25.0 > Oct 6 19:27:36 [redactedmaster] puppetmasterd[18777]: Compiled > catalog for [redacted-hostA] in 0.62 seconds > Oct 6 19:27:41 [redactedmaster] puppetmasterd[18777]: Denying access: > Forbidden request: [redacted-hostA] (ip) access to /catalog/[redacted- > hostB] [find] authenticated at line 0 > Oct 6 19:27:41 [redactedmaster] puppetmasterd[18777]: Forbidden > request: [redacted-hostA] (ip) access to /catalog/[redacted-hostB] > [find] authenticated at line 0 > > Putting always_restart.txt into rack/tmp/ solves this, at the cost of > some very verbose apache logging and presumably decreased > performance. I''ve tried setting the Passenger spawn method to > Conservative which did not seem to help. > > I''m very much a Passenger newbie but would prefer not to run mongrel > if I can avoid it. Is this a known problem? Did I overlook a setting > somewhere? The standalone server with webrick displays no such issue. > > -Scott > > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
scott
2009-Oct-07 15:42 UTC
[Puppet Users] Re: Thread safety/interleaving problem with 0.25 + passenger 2.2.5?
On Oct 7, 10:38 am, Daniel Selans <dan...@selans.com> wrote:> We had roughly the same experience. Downgrading to passenger 2.2.2 fixed > this issue for us.Thanks, downgrading seems to have fixed it for me too.> The only way how 2.2.5 worked was by adding always_restart.txt, which > severely affects performance.Should the Wiki page at http://reductivelabs.com/trac/puppet/wiki/UsingPassenger be changed, or does someone know something we don''t? It does appear that some installations of 2.2.5 are working, is everyone using always_restart, or is this a 2.2.5+0.25 specific bug? -Scott --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Peter Meier
2009-Oct-07 16:08 UTC
[Puppet Users] Re: Thread safety/interleaving problem with 0.25 + passenger 2.2.5?
Hi>> The only way how 2.2.5 worked was by adding always_restart.txt, which >> severely affects performance. > > Should the Wiki page at http://reductivelabs.com/trac/puppet/wiki/UsingPassenger > be changed, or does someone know something we don''t? It does appear > that some installations of 2.2.5 are working, is everyone using > always_restart, or is this a 2.2.5+0.25 specific bug?or maybe you should report it as a bug? http://projects.reductivelabs.com/issues/2386 cheers pete --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---