Mohamed Lrhazi
2011-Jan-12 00:25 UTC
[Puppet Users] Could not retrieve catalog from remote server
What does this error mean or what does it indicate? puppet-agent: Could not retrieve catalog from remote server: Could not intern from pson: source did not contain any PSON! What can I try to resolve it? uninstall/reinstall puppet on the client? I found a bug report, but not much info in it: http://projects.puppetlabs.com/issues/5547 Thanks, Mohamed. -- 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.
Sven Sporer
2011-Jan-12 10:35 UTC
[Puppet Users] Re: Could not retrieve catalog from remote server
I sometimes get the same error on puppet 2.6.4 and don''t know the cause. Restarting the agent helps, but I would welcome a solution to this. On Jan 12, 1:25 am, Mohamed Lrhazi <lrh...@gmail.com> wrote:> What does this error mean or what does it indicate? > > puppet-agent: Could not retrieve catalog from remote server: Could > not intern from pson: source did not contain any PSON! > > What can I try to resolve it? uninstall/reinstall puppet on the client? > > I found a bug report, but not much info in it:http://projects.puppetlabs.com/issues/5547 > > Thanks, > Mohamed.-- 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.
Mohamed Lrhazi
2011-Jan-12 17:23 UTC
Re: [Puppet Users] Re: Could not retrieve catalog from remote server
I get this very often... I only have a 4 or 5 hosts setup right now... with version 2.6.3 everywhere. Sometimes I run "puppetd --verbose --onetime --no-daemonize", get the error, then run again and not get it. Sometimes I run it dozens of times in a row and get it all the time.... it''s driving me crazy... is this related to my modules/classes themselves? am in the middle of developing them, so sometimes I think its happening because of mistakes in the actual source of my configs.... could it be? Mohamed. On Wed, Jan 12, 2011 at 5:35 AM, Sven Sporer <sven@intothespirit.com> wrote:> I sometimes get the same error on puppet 2.6.4 and don''t know the > cause. Restarting the agent helps, but I would welcome a solution to > this. > > On Jan 12, 1:25 am, Mohamed Lrhazi <lrh...@gmail.com> wrote: >> What does this error mean or what does it indicate? >> >> puppet-agent: Could not retrieve catalog from remote server: Could >> not intern from pson: source did not contain any PSON! >> >> What can I try to resolve it? uninstall/reinstall puppet on the client? >> >> I found a bug report, but not much info in it:http://projects.puppetlabs.com/issues/5547 >> >> Thanks, >> Mohamed. > > -- > 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. > >-- يوم نلقاك يوم فرحي و هنايا -- 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.
Patrick
2011-Jan-12 18:48 UTC
Re: [Puppet Users] Re: Could not retrieve catalog from remote server
Are you using Passenger? If you don''t know, the answer is probably no. If not, do this: Shutdown your puppet server. This might work: service puppetmaster stop Start it in debug: puppetmasterd --verbose --debug --no-daemonize --trace Then watch the output on the console for hints while running the clients against it. On Jan 12, 2011, at 9:23 AM, Mohamed Lrhazi wrote:> I get this very often... I only have a 4 or 5 hosts setup right now... > with version 2.6.3 everywhere. > Sometimes I run "puppetd --verbose --onetime --no-daemonize", get the > error, then run again and not get it. > Sometimes I run it dozens of times in a row and get it all the > time.... it''s driving me crazy... is this related to my > modules/classes themselves? am in the middle of developing them, so > sometimes I think its happening because of mistakes in the actual > source of my configs.... could it be? > > Mohamed. > > On Wed, Jan 12, 2011 at 5:35 AM, Sven Sporer <sven@intothespirit.com> wrote: >> I sometimes get the same error on puppet 2.6.4 and don''t know the >> cause. Restarting the agent helps, but I would welcome a solution to >> this. >> >> On Jan 12, 1:25 am, Mohamed Lrhazi <lrh...@gmail.com> wrote: >>> What does this error mean or what does it indicate? >>> >>> puppet-agent: Could not retrieve catalog from remote server: Could >>> not intern from pson: source did not contain any PSON! >>> >>> What can I try to resolve it? uninstall/reinstall puppet on the client? >>> >>> I found a bug report, but not much info in it:http://projects.puppetlabs.com/issues/5547 >>> >>> Thanks, >>> Mohamed. >> >> -- >> 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. >> >> > > > > -- > يوم نلقاك يوم فرحي و هنايا > > -- > 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. >-- 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.
Mohamed Lrhazi
2011-Jan-12 21:17 UTC
Re: [Puppet Users] Re: Could not retrieve catalog from remote server
Thanks Patrick. I see no clues at all: $sudo /opt/ruby-enterprise/bin/ruby /opt/ruby-enterprise/bin/puppet master --no-daemonize --debug --verbose --trace ... notice: Starting Puppet master version 2.6.3 ... info: Expiring the node cache of akubra.example.com info: Not using expired node for akubra.example.com from cache; expired at Wed Jan 12 15:35:15 -0500 2011 debug: Using cached facts for akubra.example.com info: Caching node for akubra.example.com debug: template[inline]: Bound template variables for inline template in 0.00 seconds debug: template[inline]: Interpolated template inline template in 0.00 seconds notice: Compiled catalog for akubra.example.com in environment testing in 0.12 seconds info: Caching catalog for akubra.example.com debug: Searched for resources in 0.00 seconds debug: Searched for resource params and tags in 0.01 seconds debug: Resource removal in 0.00 seconds debug: Resource merger in 0.05 seconds debug: Resource addition in 0.00 seconds debug: Performed resource comparison in 0.05 seconds debug: Using cached node for akubra.example.com debug: Saved catalog to database in 0.07 seconds err: //akubra.example.com/Puppet: Could not retrieve catalog from remote server: Could not intern from pson: source did not contain any PSON! notice: //akubra.example.com/Puppet: Using cached catalog info: //akubra.example.com/Puppet: Applying configuration version ''1294864403'' Thanks, Mohamed. On Wed, Jan 12, 2011 at 1:48 PM, Patrick <kc7zzv@gmail.com> wrote:> Are you using Passenger? If you don''t know, the answer is probably no. If not, do this: > > Shutdown your puppet server. This might work: > service puppetmaster stop > > Start it in debug: > puppetmasterd --verbose --debug --no-daemonize --trace > > Then watch the output on the console for hints while running the clients against it. > > > On Jan 12, 2011, at 9:23 AM, Mohamed Lrhazi wrote: > >> I get this very often... I only have a 4 or 5 hosts setup right now... >> with version 2.6.3 everywhere. >> Sometimes I run "puppetd --verbose --onetime --no-daemonize", get the >> error, then run again and not get it. >> Sometimes I run it dozens of times in a row and get it all the >> time.... it''s driving me crazy... is this related to my >> modules/classes themselves? am in the middle of developing them, so >> sometimes I think its happening because of mistakes in the actual >> source of my configs.... could it be? >> >> Mohamed. >> >> On Wed, Jan 12, 2011 at 5:35 AM, Sven Sporer <sven@intothespirit.com> wrote: >>> I sometimes get the same error on puppet 2.6.4 and don''t know the >>> cause. Restarting the agent helps, but I would welcome a solution to >>> this. >>> >>> On Jan 12, 1:25 am, Mohamed Lrhazi <lrh...@gmail.com> wrote: >>>> What does this error mean or what does it indicate? >>>> >>>> puppet-agent: Could not retrieve catalog from remote server: Could >>>> not intern from pson: source did not contain any PSON! >>>> >>>> What can I try to resolve it? uninstall/reinstall puppet on the client? >>>> >>>> I found a bug report, but not much info in it:http://projects.puppetlabs.com/issues/5547 >>>> >>>> Thanks, >>>> Mohamed. >>> >>> -- >>> 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. >>> >>> >> >> >> >> -- >> يوم نلقاك يوم فرحي و هنايا >> >> -- >> 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. >> > > -- > 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. > >-- 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.
Denmat
2011-Jan-12 21:39 UTC
Re: [Puppet Users] Re: Could not retrieve catalog from remote server
I get it too. It''s not related to the compilation of the modules but I figure it''s possibly related to the webrick server. I don''t see it on my passenger/apache set up(which I run on another master). For what it is worth this is good reading for checking the validity of of your modules before you test on hosts (--parseonly). http://www.devco.net/archives/2009/08/19/tips_and_tricks_for_puppet_debugging.php For your actual issue, I ignore it. Cheers Den On 13/01/2011, at 4:23, Mohamed Lrhazi <lrhazi@gmail.com> wrote:> I get this very often... I only have a 4 or 5 hosts setup right now... > with version 2.6.3 everywhere. > Sometimes I run "puppetd --verbose --onetime --no-daemonize", get the > error, then run again and not get it. > Sometimes I run it dozens of times in a row and get it all the > time.... it''s driving me crazy... is this related to my > modules/classes themselves? am in the middle of developing them, so > sometimes I think its happening because of mistakes in the actual > source of my configs.... could it be? > > Mohamed. > > On Wed, Jan 12, 2011 at 5:35 AM, Sven Sporer <sven@intothespirit.com> wrote: >> I sometimes get the same error on puppet 2.6.4 and don''t know the >> cause. Restarting the agent helps, but I would welcome a solution to >> this. >> >> On Jan 12, 1:25 am, Mohamed Lrhazi <lrh...@gmail.com> wrote: >>> What does this error mean or what does it indicate? >>> >>> puppet-agent: Could not retrieve catalog from remote server: Could >>> not intern from pson: source did not contain any PSON! >>> >>> What can I try to resolve it? uninstall/reinstall puppet on the client? >>> >>> I found a bug report, but not much info in it:http://projects.puppetlabs.com/issues/5547 >>> >>> Thanks, >>> Mohamed. >> >> -- >> 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. >> >> > > > > -- > يوم نلقاك يوم فرحي و هنايا > > -- > 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. >-- 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.
Mohamed Lrhazi
2011-Jan-13 03:40 UTC
Re: [Puppet Users] Re: Could not retrieve catalog from remote server
Thanks a lot. I setup and fired up httpd/passenger.... if I don''t post again on this thread, it means it fixed it :) On Wed, Jan 12, 2011 at 4:39 PM, Denmat <tu2bgone@gmail.com> wrote:> I get it too. It''s not related to the compilation of the modules but I figure it''s possibly related to the webrick server. I don''t see it on my passenger/apache set up(which I run on another master). > > For what it is worth this is good reading for checking the validity of of your modules before you test on hosts (--parseonly). http://www.devco.net/archives/2009/08/19/tips_and_tricks_for_puppet_debugging.php > > For your actual issue, I ignore it. > > Cheers > Den > On 13/01/2011, at 4:23, Mohamed Lrhazi <lrhazi@gmail.com> wrote: > >> I get this very often... I only have a 4 or 5 hosts setup right now... >> with version 2.6.3 everywhere. >> Sometimes I run "puppetd --verbose --onetime --no-daemonize", get the >> error, then run again and not get it. >> Sometimes I run it dozens of times in a row and get it all the >> time.... it''s driving me crazy... is this related to my >> modules/classes themselves? am in the middle of developing them, so >> sometimes I think its happening because of mistakes in the actual >> source of my configs.... could it be? >> >> Mohamed. >> >> On Wed, Jan 12, 2011 at 5:35 AM, Sven Sporer <sven@intothespirit.com> wrote: >>> I sometimes get the same error on puppet 2.6.4 and don''t know the >>> cause. Restarting the agent helps, but I would welcome a solution to >>> this. >>> >>> On Jan 12, 1:25 am, Mohamed Lrhazi <lrh...@gmail.com> wrote: >>>> What does this error mean or what does it indicate? >>>> >>>> puppet-agent: Could not retrieve catalog from remote server: Could >>>> not intern from pson: source did not contain any PSON! >>>> >>>> What can I try to resolve it? uninstall/reinstall puppet on the client? >>>> >>>> I found a bug report, but not much info in it:http://projects.puppetlabs.com/issues/5547 >>>> >>>> Thanks, >>>> Mohamed. >>> >>> -- >>> 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. >>> >>> >> >> >> >> -- >> يوم نلقاك يوم فرحي و هنايا >> >> -- >> 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. >> > > -- > 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. > >-- يوم نلقاك يوم فرحي و هنايا -- 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.