Russell Harrison
2013-Dec-18 22:46 UTC
[Puppet Users] Resources not exported from puppet agent run on the Puppet Master nodes with PuppetDB
I could use some help debugging a bazaar PuppetDB problem. Exported resources seem to be working fine everywhere except for on the Puppet Masters themselves. Whenever I run the puppet agent on them everything seems to go fine and I see the catalog getting submitted to PuppetDB in the logs. However, when I run puppet on the node that should collect these resources they aren''t applied. Querying PuppetDB via the API shows no resources exported for puppet1 or puppet2. Again, all other nodes are exporting their resources as expected. The only differences I can think between the masters and regular nodes are: - The puppetdb-terminus package is installed - They have /etc/puppet/routes.yaml and /etc/puppet/puppetdb.conf - storeconfigs = true and storeconfigs_backend = puppetdb is set in the [main] section of puppet.conf - The certs for the masters were created using --dns-alt-names puppet.example.com This is were I''m really stumped. When I query the PostgreSQL database directly I see all of the resources should have been exported from both nodes in the catalog_resources table. It looks like the catalog has been correctly submitted to PuppetDB and was correctly stored in the database. Its just not being returned by PuppetDB either from the API or during a catalog compile. My setup is basically fully stock using the puppetlabs-puppetdb module with PuppetDB and PostgreSQL hosted together on a host other than the master servers and I''ve got a certificate-whitelist set up with the certnames for puppet1, puppet2, and puppetdb1 in it. Ironically configured using exported resources presumably from ActiveRecord storeconfigs before I pushed the change to point to my newly set up PuppetDB. Any help would be much appreciated. I''m at a loss here. Russell -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4613c8d2-2c61-4bb0-9554-6d26610bb598%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.