Hello, maybe this is a bug. But if puppetd cannot find host puppet ( default hostname ) it will try to get certificate and load goes automatically to 100%. I am starting puppetd with parameter -w 0 and this is in my syslog: Feb 16 10:49:54 myhostname puppetd[2853]: Could not find server puppet: getaddrinfo: Name or service not known Feb 16 10:49:54 myhostname puppetd[2853]: Could not request certificate: Certificate retrieval failed: Could not find server puppet Does anybody know how to get rid of this? Thank you for your answers. Andrej --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Your puppet client is tryng to contact a server named "puppet". Find out where it is using puppet as the server name in the configs and replace it with the hostname of your puppetmaster and you should be set. -Jason On Feb 16, 2009, at 3:08 AM, Andy wrote:> > Hello, > > maybe this is a bug. But if puppetd cannot find host puppet ( default > hostname ) it will try to get certificate and load goes automatically > to 100%. I am starting puppetd with parameter -w 0 and this is in my > syslog: > > Feb 16 10:49:54 myhostname puppetd[2853]: Could not find server > puppet: getaddrinfo: Name or service not known > Feb 16 10:49:54 myhostname puppetd[2853]: Could not request > certificate: Certificate retrieval failed: Could not find server > puppet > > Does anybody know how to get rid of this? > > Thank you for your answers. > > Andrej > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Yes, I know that in my configuration is puppet as the server. But if I connect my PC somewhere where puppet server is not available it will try to connect and generate tousands of messages and load of the PC is 100%. So question is also what if my puppet server will go down? My client will try to connect and do this load? Thank you for answer Andrej On Feb 16, 9:31 pm, Jason Rojas <ja...@nothingbeatsaduck.com> wrote:> Your puppet client is tryng to contact a server named "puppet". Find > out where it is using puppet as the server name in the configs and > replace it with the hostname of your puppetmaster and you should be set. > -Jason > On Feb 16, 2009, at 3:08 AM, Andy wrote: > > > > > Hello, > > > maybe this is a bug. But if puppetd cannot find host puppet ( default > > hostname ) it will try to get certificate and load goes automatically > > to 100%. I am starting puppetd with parameter -w 0 and this is in my > > syslog: > > > Feb 16 10:49:54 myhostname puppetd[2853]: Could not find server > > puppet: getaddrinfo: Name or service not known > > Feb 16 10:49:54 myhostname puppetd[2853]: Could not request > > certificate: Certificate retrieval failed: Could not find server > > puppet > > > Does anybody know how to get rid of this? > > > Thank you for your answers. > > > Andrej--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Andrej Simko wrote:> Yes, I know that in my configuration is puppet as the server. But if I > connect my PC somewhere where puppet server is not available it will > try to connect and generate tousands of messages and load of the PC is > 100%. So question is also what if my puppet server will go down? My > client will try to connect and do this load? > Thank you for answerI think this only happens on certificate signing (ideally, a one-time event for a newly-installed client). Adjusting the -w flag to something larger than 0 should reduce the load considerably, at the expense of some delay in the certificates being signed. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
This problem exists on debian/ubuntu machines, where it was defined not to wait and continue to try fetching the certificate from the server. I think that it was fixed in the latest puppet packages you could find more info here: http://projects.reductivelabs.com/issues/1689 On Mon, Feb 16, 2009 at 7:08 PM, Andy <andrej.simko@gmail.com> wrote:> > Hello, > > maybe this is a bug. But if puppetd cannot find host puppet ( default > hostname ) it will try to get certificate and load goes automatically > to 100%. I am starting puppetd with parameter -w 0 and this is in my > syslog: > > Feb 16 10:49:54 myhostname puppetd[2853]: Could not find server > puppet: getaddrinfo: Name or service not known > Feb 16 10:49:54 myhostname puppetd[2853]: Could not request > certificate: Certificate retrieval failed: Could not find server > puppet > > Does anybody know how to get rid of this? > > Thank you for your answers. > > Andrej > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---