Do you have use_cached_catalog set on puppet agents or puppetmaster? Are
you using storeconfigs / puppetdb?
Offhand, I'd guess that when you modify mtime of site.pp by saving, that
forces puppet to invalidate the cached catalog and temporarily resolve
the problem.
If necessary, are you able to update to the latest 3.4rc (agent might
suffice) for testing?
Jeff
On 12/17/2013 03:35 PM, Nathan Earixson wrote:
puppet 3.3.2 on RHEL6
If I run puppet on a node:
# sudo puppet agent --test --noop
I get the following error:
/Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Duplicate declaration: Package[bind] is already declared in
file /etc/puppet/modules/site/manifests/dns_test.pp:4; cannot
redeclare at /etc/puppet/modules/site/manifests/dns.pp:4 on node
bushlnxadm01.chicagobooth.edu
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run/
That's weird. That node isn't a DNS server and shouldn't even be
thinking about running bind.
If I open /etc/puppet/manifests/site.pp and save the file, the error
goes away on next puppet agent run.
After about 15 minutes the node starts trying to apply the classes
from //etc/puppet/modules/site/manifests/dns_test.pp /and after
another 5 or so minutes I start getting the duplicate declaration
error again.
If I save the manifest the puppet agent command works as expected for
another 15 minutes or so.
I can't even begin to think of where to start looking on this. Any
thoughts would be appreciated.
This seems to be happening on every node.
-n
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/74814870-7ff7-49f1-b764-a155afd31168%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/52B0F991.4020606%40bericotechnologies.com.
For more options, visit https://groups.google.com/groups/opt_out.