I can't understand why this is failing, given puppet was working before installing puppetdb. Note: I'm using ports 9090 and 9091 for puppetdb as opposed to the default 8080 and 8081 as another application is using ports 8080/8081. Can someone point me in the correct direction:
$ sudo /opt/puppetlabs/puppet/bin/puppet agent --test
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 500 on SERVER: Server Error: Could not retrieve facts for x.com: Failed to find facts from PuppetDB at puppet:8140: Failed to execute '/pdb/query/v4/nodes/x.com/facts' on at least 1 of the following 'server_urls': https://x.com:9091
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Failed to execute '/pdb/cmd/v1?checksum=a98e521480c22b1b246dd8027089701f121a989f&version=5&certname=x.com&command=replace_facts&producer-timestamp=1504346199' on at least 1 of the following 'server_urls': https://x.com:9091
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Notes:
- ports 8140, 9090, 9091 are all allowed through the firewall
- the server has been restarted (so the config files are correctly loaded)
- certs have not been regenerated following puppetdb install
↧