puppetdb Problem accessing /v3/nodes/
On a fresh all-in-one installation of puppet-enterprise 3.8.3, I am encountering issues communicating with the puppetdb service.
# puppet agent --test Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Failed to find facts from PuppetDB at pe-puppet.localdomain:8081: Error executing http request Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit 'replace facts' command for pe-puppet.localdomain to PuppetDB at pe-puppet.localdomain:8081: Error executing http request Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
so I define that host name in my /etc/hosts file like so:
and bounce the master like so:
systemctl restart pe-puppetserver
and now I get errors which look like this:
Warning: Error 400 on SERVER: Failed to find facts from PuppetDB at pe-puppet.localdomain:8081: [404 ] <html><head><meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/><title>Error 404 </title></head><body>
HTTP ERROR: 404
Problem accessing /v3/nodes/pe-puppet.localdomain/facts. Reason:Not Found
Powered by Jetty://</body></html>
With a 404, I'm guessing perhaps a permission issue on the path leading to the code which serves that API, or perhaps a failure to configure that node name on the puppetdb. At any rate, it is stopping me from moving forward and I would appreciate any guidance available to move me off of stuck.
Thanks, -- Hugh