Puppet -- Problem accessing /v3/commands

908 views
Skip to first unread message

Stella

unread,
Oct 18, 2014, 11:46:38 AM10/18/14
to puppet...@googlegroups.com
Hi guys,

I am us puppet 3.6.2 and dashboard. When I run "puppet agent --test", got this error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit 'replace facts' command for example.com to PuppetDB at example.com:8081: [404 Not Found] <html><head><meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/><title>Error 404 </title></head><body><h2>HTTP ERROR: 404</h2><p>Problem accessing /v3/commands. Reason:<pre>    Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i></body></html>

What could be the problem?

Thanks,
Stacey



Wyatt Alt

unread,
Oct 18, 2014, 2:25:32 PM10/18/14
to puppet...@googlegroups.com, Stella
Hey Stacey,

This error can be generated by queries made during the PuppetDB startup
sequence and also if PuppetDB is upgraded but not restarted. Can your
report your PuppetDB version with

curl -G http://localhost:8080/v4/version
(for the appropriate hostname)

and if you've just upgraded, ensure that you've restarted the service?

Wyatt

On Sat Oct 18 08:46:38 2014, Stella wrote:
> Hi guys,
>
> I am us puppet 3.6.2 and dashboard. When I run "puppet agent --test",
> got this error:
>
> Error: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Failed to submit 'replace facts' command for example.com to
> PuppetDB at example.com:8081: [404 Not Found] <html><head><meta
> http-equiv="Content-Type" content="text/html;"/><title>Error 404
> </title></head><body><h2>HTTP ERROR: 404</h2><p>Problem accessing
> /v3/commands. Reason:<pre> Not Found</pre></p><hr
> /><i><small>Powered by Jetty://</small></i></body></html>
>
> What could be the problem?
>
> Thanks,
> Stacey
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to puppet-users...@googlegroups.com
> <mailto:puppet-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/6f50b072-138e-454e-a97a-e90bf49d52fd%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/6f50b072-138e-454e-a97a-e90bf49d52fd%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Nishutosh Sharma

unread,
Jun 7, 2017, 8:11:13 AM6/7/17
to Puppet Users
Hi, I am facing the same problem. WIth PuppetDb version 4.10.
Did you find a solution ?
Reply all
Reply to author
Forward
0 new messages