Issue #12185 has been updated by Carlos Cruz Luengo.

Both master and agent nodes run Debian Squeeze (2.6.32-5-xen-amd64 kernel).

I have enabled debug and this is what I get:

<pre>
Jan 28 19:57:48 AS006 puppet-agent[6265]: Loaded state in 0.00 seconds
Jan 28 19:57:51 AS006 puppet-agent[6265]: Executing 'apt-get update'
Jan 28 19:57:52 AS006 puppet-agent[6265]: catalog supports formats: 
b64_zlib_yaml dot marshal pson raw yaml; using pson
Jan 28 19:57:52 AS006 puppet-agent[6265]: Caching catalog for 
as006.preprod.sip.euskaltel.com
Jan 28 19:57:52 AS006 puppet-agent[6265]: Creating default schedules
Jan 28 19:57:52 AS006 puppet-agent[6265]: Loaded state in 0.00 seconds
Jan 28 19:57:52 AS006 puppet-agent[6265]: Applying configuration version 
'1327769647'
Jan 28 19:57:52 AS006 puppet-agent[6265]: (/Schedule[daily]) Skipping device 
resources because running on a host
Jan 28 19:57:52 AS006 puppet-agent[6265]: (/Schedule[monthly]) Skipping device 
resources because running on a host
Jan 28 19:57:52 AS006 puppet-agent[6265]: (/Schedule[hourly]) Skipping device 
resources because running on a host
Jan 28 19:57:52 AS006 puppet-agent[6265]: (/Schedule[never]) Skipping device 
resources because running on a host
Jan 28 19:57:52 AS006 puppet-agent[6265]: (/Schedule[weekly]) Skipping device 
resources because running on a host
Jan 28 19:57:52 AS006 puppet-agent[6265]: (/Schedule[puppet]) Skipping device 
resources because running on a host
Jan 28 19:57:52 AS006 puppet-agent[6265]: Finishing transaction 70042503419660
Jan 28 19:57:52 AS006 puppet-agent[6265]: Storing state
Jan 28 19:57:52 AS006 puppet-agent[6265]: Stored state in 0.00 seconds
Jan 28 19:57:52 AS006 puppet-agent[6265]: Finished catalog run in 0.02 seconds
Jan 28 19:57:52 AS006 puppet-agent[6265]: Value of 
'preferred_serialization_format' (pson) is invalid for report, using default 
(marshal)
Jan 28 19:57:52 AS006 puppet-agent[6265]: report supports formats: 
b64_zlib_yaml marshal raw yaml; using marshal
Jan 28 20:02:52 AS006 puppet-agent[6265]: Loaded state in 0.00 seconds
</pre>

The 19:57 run goes OK (and previous ones are identical) and the 20:02 gets 
stucked in the fist step... any guess about what could it be?


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