New Fact not getting loaded into PuppetDB #41
Unanswered
yasin-amadmia-mck
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Team, so we have a situation whereby a particular custom fact that was newly added to the node does'nt seem to get stored in the PuppetDB Database.
When i do
facter -p is_lvm
on the agent/node, I get it printed on screentrue
which is expected. However, when I curl the/facts
endpoint for PuppetDB, and query it, it does'nt return anything. I also checked the DB manually and it is not present.In this instance, the puppertserver and the node where I am running
puppent agent -t --environment=some-env
is same.One interesting line of error we see is this
now that
::is_lvm
is the custom fact that we adding.It is worth noting that on another node, the same
puppet agent run -t --environment=<some-environment>
completes successfully when applying same classes. For this node, the puppetserver is also the same. Basically nodes (failing and working) has same puppetserver. I also confirmed via curl/facts
that for this node, the custom factis_lvm
is present in puppetDB.PS: I also cleared certificate of the node where it is failing but same issue.
Beta Was this translation helpful? Give feedback.
All reactions