Ask Your Question
0

Puppet error on puppet server

asked 2016-04-28 22:43:54 -0500

puffer gravatar image

updated 2016-05-09 13:41:29 -0500

joshc gravatar image

Hi, i'm quite new to puppet. recently i try to install puppet on vm for testing purposes. i got strange error as below.

error logs

Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 403 on SERVER: Forbidden request: sandbox.puppet.vm(127.0.1.1) access to /node/sandbox.puppet.vm [find] authenticated  at :55
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 sandbox.puppet.vm to PuppetDB at sandbox.puppet.vm:8081: [403 Forbidden] You shall not pass!
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@sandbox clientbucket]#

appreciate positive feedback and advise

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-09 13:52:20 -0500

joshc gravatar image

The agent is able to pluginsync, so communication between the agent and master is good. But the error Failed to submit 'replace facts' command for sandbox.puppet.vm means there is a communications/authorization problem between the master and puppetdb. If the master can't connect to puppetdb, then the agent's node and catalog requests will fail.

Look at the master and puppetdb log files to see if there is more information. For PuppetDB 3.2, see https://docs.puppet.com/puppetdb/3.2/...puppetmaster.html.

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

1 follower

Stats

Asked: 2016-04-28 22:43:54 -0500

Seen: 184 times

Last updated: May 09 '16