troubleshooting collected resources, how to.

14 views
Skip to first unread message

Trey Ormsbee

unread,
Dec 17, 2018, 3:20:12 PM12/17/18
to Puppet Users
I'm having a problem with a node not collecting resources.  I have never really had any issues before so never needed to troubleshoot this and Im not sure where to look.  

Issue:
I have a node that exports a resource with a specific tag, it is written into puppetdb sql database so as far as I can tell that is good to go. The node that is too collect that tag is not collecting it.  I have tried every tag in the database as well as my custom tag,  but it does not get pulled.

I have started with the agent, on the collecting node, but I see nothing in the debug log regarding the resources which I kind of expected.  So I moved onto the puppet master debug logs,  best I see there is that the puppet master talks to puppetdb.  So I have looked at the puppetdb logs,  which tells me that replace catalog and replace facts was run (which is what the master tells me as well).

Where exactly do the exported resources get inserted and and what kind of logs should I be looking for.


Im still running 3.8.7 on the agents and masters for this scenario.  I also have 100's of other exported resources that are working correctly just this one instance.  Any help on where to look to find out why this is not working would be appreciated.  

Andreas Ntaflos

unread,
Dec 17, 2018, 4:39:34 PM12/17/18
to Puppet Users
On Monday, 17 December 2018 21:20:12 UTC+1, Trey Ormsbee wrote:
I'm having a problem with a node not collecting resources.  I have never really had any issues before so never needed to troubleshoot this and Im not sure where to look.  

Issue:
I have a node that exports a resource with a specific tag, it is written into puppetdb sql database so as far as I can tell that is good to go. The node that is too collect that tag is not collecting it. 

A simple explanation may be that the node that is supposed to collect these exported resources does not include the class that actually defines the resource collection. So you may need to take another look at which classes your collecting node includes, maybe you are missing one.

Apart from that it is hard to say much without looking at the Puppet manifests in question.

Andreas

Trey Ormsbee

unread,
Dec 18, 2018, 10:25:10 AM12/18/18
to Puppet Users
I wish it was that simple,  other resources in the same class get pulled.  I will post a few more details with manifests snippets shortly, I need to sanitize them.
Reply all
Reply to author
Forward
0 new messages