Issue #12185 has been updated by Davide Guerri.
I'm using puppet to install this workaround
cron { "puppet gets stuck wa":
command => "echo '' | nc localhost 8139",
user => "nobody",
minute => "*/5"
}
I know it's dirty but there's no fix for this issue yet and it works very well
for me ;)
----------------------------------------
Bug #12185: Puppet agents get stuck
https://projects.puppetlabs.com/issues/12185#change-57240
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.