Ask Your Question

Getting a duplicate exported resource with omd

asked 2015-01-28 20:58:13 -0600

micah gravatar image

Environment: PE 3.7 Ubuntu 12.04

I have installed omd and checkmk using the fnerdwq/omd module. I deployed the agents (puppet and checkmk) to a node that I had to rename. I deleted the old node from PE, cleared the cert, and ran puppet agent on the node after the name was changed. Now whenever I run puppet agent on my omd server I get the following error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: A duplicate resource was found while collecting exported resources, with the type and title File[/var/opt/lib/pe-puppet/omd/checkpuppetnewnodename] on node omdservername Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-01-29 16:04:22 -0600

micah gravatar image

Using :

$ sudo puppet node deactivate <agent certname=""> (deactivate in PuppetDB) $ sudo puppet cert clean <agent certname=""> (make the CA forget the cert ever existed) $ sudo puppet node clean <agent certname=""> (some additional and more aggressive cleaning>

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-01-28 20:58:13 -0600

Seen: 2,636 times

Last updated: Jan 29 '15