Trevor Hemsley
2010-Oct-21 10:13 UTC
[Puppet Users] Puppet master reparsing every 24 hours
About a year ago there was a discussion about why a puppetmaster process was reparsing /etc/puppet/puppet.conf every 24 hours. The conclusion of that was that it was down to a backup package called Netbackup which was resetting the atime on the file as it backed it up. I seem to have a similar issue with a different backup package (Atempo Tina) that is not under my control so I cannot tell it to not reset the atime. The problem is exacerbated by the fact that when my puppetmaster reparses puppet.conf, it crashes and disappears so every night at 02:00 my puppetmaster needs to be restarted :-( I''m running 0.24.8 still as I''m in the middle of a data centre migration and don''t want to change anything critical until after I''ve gone live in the new DC. Is this something that has been fixed in newer puppet builds? I suspect there are two issues - one is the reparse just because the atime on puppet.conf is reset back to its original value and the second is the crash. -- Trevor Hemsley Infrastructure Engineer ................................................. *C A L Y P S O * Brighton, UK OFFICE +44 (0) 1273 666 350 FAX +44 (0) 1273 666 351 ................................................. www.calypso.com This electronic-mail might contain confidential information intended only for the use by the entity named. If the reader of this message is not the intended recipient, the reader is hereby notified that any dissemination, distribution or copying is strictly prohibited. *P * /*/Please consider the environment before printing this e-mail /*/ -- 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.
On Oct 21, 2010, at 3:13 AM, Trevor Hemsley wrote:> About a year ago there was a discussion about why a puppetmaster process was reparsing /etc/puppet/puppet.conf every 24 hours. The conclusion of that was that it was down to a backup package called Netbackup which was resetting the atime on the file as it backed it up. I seem to have a similar issue with a different backup package (Atempo Tina) that is not under my control so I cannot tell it to not reset the atime. > > The problem is exacerbated by the fact that when my puppetmaster reparses puppet.conf, it crashes and disappears so every night at 02:00 my puppetmaster needs to be restarted :-( I''m running 0.24.8 still as I''m in the middle of a data centre migration and don''t want to change anything critical until after I''ve gone live in the new DC.First, I wouldn''t be very surprised if it''s fixed. There had been a huge amount of refactoring since that version. Second, I''ve never heard of this bug before, unless you''re using a version of BSD. Are you using a version of BSD? Third, have you tried opening puppet.conf in a hex editor and looking for strange characters?> Is this something that has been fixed in newer puppet builds? I suspect there are two issues - one is the reparse just because the atime on puppet.conf is reset back to its original value and the second is the crash.-- 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.
Trevor Hemsley
2010-Oct-21 15:47 UTC
Re: [Puppet Users] Puppet master reparsing every 24 hours
The original report is http://www.mail-archive.com/puppet-users@googlegroups.com/msg04883.html I don''t use BSD, I''m running RHEL5.5. I have two other puppet masters with identical config files that do not do this. Only difference I can find is that in the new data centre, the provider runs a backup of the entire system including /etc/puppet. I have asked them not to do so in the hope that this will fix my problem. On 21/10/2010 15:43, Patrick wrote:> On Oct 21, 2010, at 3:13 AM, Trevor Hemsley wrote: > >> About a year ago there was a discussion about why a puppetmaster process was reparsing /etc/puppet/puppet.conf every 24 hours. The conclusion of that was that it was down to a backup package called Netbackup which was resetting the atime on the file as it backed it up. I seem to have a similar issue with a different backup package (Atempo Tina) that is not under my control so I cannot tell it to not reset the atime. >> >> The problem is exacerbated by the fact that when my puppetmaster reparses puppet.conf, it crashes and disappears so every night at 02:00 my puppetmaster needs to be restarted :-( I''m running 0.24.8 still as I''m in the middle of a data centre migration and don''t want to change anything critical until after I''ve gone live in the new DC. > First, I wouldn''t be very surprised if it''s fixed. There had been a huge amount of refactoring since that version. > > Second, I''ve never heard of this bug before, unless you''re using a version of BSD. Are you using a version of BSD? > > Third, have you tried opening puppet.conf in a hex editor and looking for strange characters? > >> Is this something that has been fixed in newer puppet builds? I suspect there are two issues - one is the reparse just because the atime on puppet.conf is reset back to its original value and the second is the crash.-- Trevor Hemsley Infrastructure Engineer ................................................. *C A L Y P S O * Brighton, UK OFFICE +44 (0) 1273 666 350 FAX +44 (0) 1273 666 351 ................................................. www.calypso.com This electronic-mail might contain confidential information intended only for the use by the entity named. If the reader of this message is not the intended recipient, the reader is hereby notified that any dissemination, distribution or copying is strictly prohibited. *P * /*/Please consider the environment before printing this e-mail /*/ -- 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.
Rob McBroom
2010-Oct-21 18:29 UTC
Re: [Puppet Users] Puppet master reparsing every 24 hours
On Oct 21, 2010, at 11:47 AM, Trevor Hemsley wrote:> The original report is http://www.mail-archive.com/puppet-users@googlegroups.com/msg04883.html > > I don''t use BSD, I''m running RHEL5.5. > > I have two other puppet masters with identical config files that do not do this. Only difference I can find is that in the new data centre, the provider runs a backup of the entire system including /etc/puppet. I have asked them not to do so in the hope that this will fix my problem.Our Puppetmaster (0.25.5) is also on RHEL5 and gets backed up with NetBackup. The access time on our puppet.conf is less than 10 minutes ago, but the string “Reparsing” doesn''t appear anywhere in the Puppetmaster''s logs (which go back a month). Hope that helps in some way. -- Rob McBroom <http://www.skurfer.com/> -- 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.