Issue #12185 has been updated by Carlos Cruz Luengo.

There are no logs, it just seems that puppet process gets stuck:

root@AS016:~# tail -f /var/log/daemon.log 
Jan 26 17:03:24 AS016 xinetd[688]: Started working: 1 available service
Jan 26 17:03:25 AS016 puppet-agent[730]: Reopening log files
Jan 26 17:03:26 AS016 puppet-agent[730]: Starting Puppet client version 2.7.9
Jan 26 17:03:35 AS016 puppet-agent[730]: Finished catalog run in 0.03 seconds
Jan 26 17:04:50 AS016 puppet-agent[730]: triggered run
Jan 26 17:05:24 AS016 puppet-agent[730]: Finished catalog run in 0.03 seconds
Jan 26 17:08:41 AS016 puppet-agent[730]: Finished catalog run in 0.02 seconds
Jan 26 17:13:46 AS016 puppet-agent[730]: Finished catalog run in 0.03 seconds
Jan 26 17:18:52 AS016 puppet-agent[730]: Finished catalog run in 0.03 seconds
Jan 26 17:23:57 AS016 puppet-agent[730]: Finished catalog run in 0.11 seconds
root@AS016:~# date
Thu Jan 26 17:40:37 CET 2012
root@AS016:~# pgrep -l puppet
730 puppet


If I trigger 'puppet kick' from the master node, it asks for its catalogue and 
starts running again normally (until it suddenly stops...):

(triggered by master node)
Jan 26 17:41:36 AS016 puppet-agent[730]: Finished catalog run in 0.03 seconds

(five minutes later, it asks for its catalogue)
Jan 26 17:46:41 AS016 puppet-agent[730]: Finished catalog run in 0.03 seconds


Am I missing something? Thank you very much!
----------------------------------------
Bug #12185: Puppet agents get stuck
https://projects.puppetlabs.com/issues/12185

Author: Carlos Cruz Luengo
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
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