Ganesh Sharma
2011-Dec-12 21:24 UTC
[Puppet Users] Puppet 2.7.9 not working at CentOS 6 with Passenger
Hi In puppet 2.6.9, I''m trying to run it with passenger. Details are as below: 1. Puppet: 2.6.9 2. Rack: 1.2.2 3. Passenger: 3.0.7 4. OS: CentOS 6 Error encountered at client: --------------------- err: Could not retrieve catalog; skipping run err: Could not retrieve catalog from remote server: excessive message size --------------------- I''ve followed: https://github.com/puppetlabs/puppet/tree/master/ext/rack http://projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger Can someone help me move in right direction? --- Thanks Ganesh -- 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.
Ganesh Sharma
2011-Dec-12 21:27 UTC
[Puppet Users] Re: Puppet 2.7.9 not working at CentOS 6 with Passenger
Just to re-iterate, it''s working fine when I run puppetmaster from the /etc/init.d/puppetmaster. On Dec 13, 2:24 am, Ganesh Sharma <worldiswelc...@gmail.com> wrote:> Hi > > In puppet 2.6.9, I''m trying to run it with passenger. > Details are as below: > 1. Puppet: 2.6.9 > 2. Rack: 1.2.2 > 3. Passenger: 3.0.7 > 4. OS: CentOS 6 > > Error encountered at client: > --------------------- > err: Could not retrieve catalog; skipping run > err: Could not retrieve catalog from remote server: excessive message > size > --------------------- > > I''ve followed:https://github.com/puppetlabs/puppet/tree/master/ext/rackhttp://projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger > > Can someone help me move in right direction? > > --- > Thanks > Ganesh-- 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 Pittman
2011-Dec-12 21:53 UTC
Re: [Puppet Users] Re: Puppet 2.7.9 not working at CentOS 6 with Passenger
G''day. I can''t be sure this is your problem, but one difference between the 2.6 series and the 2.7 series is that we changed the master/agent interaction to use POST rather than GET for facts. Specifically, we changed that because once you get too many bytes of facts we would get a message that looks very, very much like that one out of the web server - which rejected the long GET request line. The limit varies by server, too, which is a pain - and because this happens before Puppet got hold of the content we couldn''t do much more about it. You might want to try upgrading to the 2.7 series and see if that improves the situation for you. Daniel On Mon, Dec 12, 2011 at 13:27, Ganesh Sharma <worldiswelcome@gmail.com> wrote:> Just to re-iterate, it''s working fine when I run puppetmaster from > the /etc/init.d/puppetmaster. > > On Dec 13, 2:24 am, Ganesh Sharma <worldiswelc...@gmail.com> wrote: >> Hi >> >> In puppet 2.6.9, I''m trying to run it with passenger. >> Details are as below: >> 1. Puppet: 2.6.9 >> 2. Rack: 1.2.2 >> 3. Passenger: 3.0.7 >> 4. OS: CentOS 6 >> >> Error encountered at client: >> --------------------- >> err: Could not retrieve catalog; skipping run >> err: Could not retrieve catalog from remote server: excessive message >> size >> --------------------- >> >> I''ve followed:https://github.com/puppetlabs/puppet/tree/master/ext/rackhttp://projects.puppetlabs.com/projects/puppet/wiki/Using_Passenger >> >> Can someone help me move in right direction? >> >> --- >> Thanks >> Ganesh > > -- > 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. >-- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- 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.
Ganesh Sharma
2011-Dec-15 14:07 UTC
[Puppet Users] Re: Puppet 2.7.9 not working at CentOS 6 with Passenger [Solved]
Hi Daniel, Greetings!!! That was a typo. The puppet version was 2.7.9 and not 2.6.9 as per my posting subject. ***SOLUTION APPLIED*** +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++ Since, we are using cacerts.org certificates in ldap, so I had appended cacert''s root.crt after /var/lib/puppet/ssl/ca/ca_cert.pem. Due to this reason, I was getting the error message specified as below: ----------------- err: Could not retrieve catalog; skipping run err: Could not retrieve catalog from remote server: excessive message size ----------------- As soon as I removed the end portion i.e the appended cert from the end of this file, all was corrected. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++ Now, I have a second problem. I have openDS at external server which runs at port number 1636. We store all of our nodes in openDS LDAP. When the above problem was resolved, the ldap search was going very well. But within 24 hours my problem started again. i.e ==============Tue Dec 13 17:59:52 +0000 2011 /Stage[main]/Allowport_udp_5036-5060/ ExTue Dec 13 18:03:06 +0000 2011 Puppet (err): Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node node.domain.com : LDAP Search failed ============== Not to mention, the search is doing perfectly well at port 1389 i.e. non-ssl port. This is ditto issue as per: http://groups.google.com/group/puppet-users/browse_thread/thread/4707c06e4b6f512a/58350c20c1f28cec I had upgraded my puppet in the hope of solving this. But that did not help. Can you help me on this? http://groups.google.com/group/puppet-users/browse_thread/thread/4707c06e4b6f512a/58350c20c1f28cec I''m updating my original post as well. So that whenever it''s resolved, others should also benefit. --- Thanks Ganesh On Dec 13, 2:53 am, Daniel Pittman <dan...@puppetlabs.com> wrote:> G''day. I can''t be sure this is your problem, but one difference > between the 2.6 series and the 2.7 series is that we changed the > master/agent interaction to use POST rather than GET for facts. > > Specifically, we changed that because once you get too many bytes of > facts we would get a message that looks very, very much like that one > out of the web server - which rejected the long GET request line. The > limit varies by server, too, which is a pain - and because this > happens before Puppet got hold of the content we couldn''t do much more > about it. > > You might want to try upgrading to the 2.7 series and see if that > improves the situation for you. > > Daniel > > > > On Mon, Dec 12, 2011 at 13:27, Ganesh Sharma <worldiswelc...@gmail.com> wrote: > > Just to re-iterate, it''s working fine when I run puppetmaster from > > the /etc/init.d/puppetmaster. > > > On Dec 13, 2:24 am, Ganesh Sharma <worldiswelc...@gmail.com> wrote: > >> Hi > > >> In puppet 2.6.9, I''m trying to run it with passenger. > >> Details are as below: > >> 1. Puppet: 2.6.9 > >> 2. Rack: 1.2.2 > >> 3. Passenger: 3.0.7 > >> 4. OS: CentOS 6 > > >> Error encountered at client: > >> --------------------- > >> err: Could not retrieve catalog; skipping run > >> err: Could not retrieve catalog from remote server: excessive message > >> size > >> --------------------- > > >> I''ve followed:https://github.com/puppetlabs/puppet/tree/master/ext/rackhttp://proje... > > >> Can someone help me move in right direction? > > >> --- > >> Thanks > >> Ganesh > > > -- > > 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 athttp://groups.google.com/group/puppet-users?hl=en. > > -- > ⎋ Puppet Labs Developer –http://puppetlabs.com > ♲ Made with 100 percent post-consumer electrons-- 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.