Issue #12185 has been updated by Kristjan Koppel.

Steve Traylen wrote:
> maybe related, about 10% of my puppet agents started acting strange (delayed 
> runs) today 
> 
> Is this on  RHEL6 machines? We observed very sick puppets as above due to the 
>  leapsecond. 
> If you have puppetd's running with very high load then try "service ntpd stop 
> ; date -s $(date)"
> to see if that helps.
> 
> Restarting puppet will not help with this one...  If it is this one at all.

FYI, we also noticed some puppet agents (versions 2.6.2 and 2.7.18) running on 
Debian Squeeze VMs using 100% CPU and seeming stuck based on strace output. 
Telnet to port 8139 didn't help at all, but setting the date solved this 
problem for us.

----------------------------------------
Bug #12185: Puppet agents get stuck
https://projects.puppetlabs.com/issues/12185#change-67947

Author: Carlos Cruz Luengo
Status: Accepted
Priority: Normal
Assignee: 
Category: agent
Target version: 
Affected Puppet version: 2.7.9
Keywords: 
Branch: 


I am having some problems with my Puppet instalation. I have one Puppet in 
master mode running with:

* Foreman as web interface.
* Storeconfigs running.
* Passenger Apache module.

I have 25 nodes running Puppet Agent every 5 minutes (runinterval=300) and 
sending their reports to the master node. Everything is fine but suddenly (and 
arbitrarily) the puppet agent stops running (I left yesterday all nodes working 
and today 20 of them had stopped asking for their catalogues, some 1 hour ago, 
other, 4 hours, etc.). The process is still working and when I run a 'puppet 
kick' from the master node they start working again. Is something wrong in my 
config?? (I am running 2.7.9-1puppetlabs3 on both master and agent nodes)

<pre>
*** puppet.conf in master node ***
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
certname=puppet.YYYYY.com
node_name=cert
server=puppet.YYYYY.com

[master]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
storeconfigs=true
dbadapter=mysql
dbuser=puppet
dbname=foreman
dbpassword=XXXXX
dbserver=localhost
dbsocket=/var/run/mysqld/mysqld.sock
reports=log, foreman
node_terminus = exec
external_nodes = /etc/puppet/scripts/external_node.rb
allow_duplicate_certs = true

[agent]
report = true
listen = true
runinterval = 300

*** puppet.conf in agent node ***
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
server=puppet.YYYYYY.com

[agent]
report = true
listen = true
runinterval = 300

</pre>

Thank you very much in advanced.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to