PuppetMaster点击了PuppetDb的非种族API不知道为什么

PuppetMaster点击了PuppetDb的非种族API不知道为什么,puppet,Puppet,以下是我尝试在puppet agent上运行命令puppet agent-t时遇到的错误。当PuppetServer尝试访问PuppetDb的V3而不是V4时,会发生这种情况,尽管V3已被降级,理想情况下不应调用。我不知道如何解决这个问题 所有配置均已就位,如下所述: 错误:无法从远程服务器检索目录:服务器上的错误500:服务器错误:未能将puppetmaster.test.org的“替换事实”命令提交到位于puppetmaster.test.org的PuppetDB:8081:[404]错误4

以下是我尝试在puppet agent上运行命令
puppet agent-t
时遇到的错误。当PuppetServer尝试访问PuppetDb的V3而不是V4时,会发生这种情况,尽管V3已被降级,理想情况下不应调用。我不知道如何解决这个问题

所有配置均已就位,如下所述:

错误:无法从远程服务器检索目录:服务器上的错误500:服务器错误:未能将puppetmaster.test.org的“替换事实”命令提交到位于puppetmaster.test.org的PuppetDB:8081:[404]错误404 HTTP错误:404访问/v3/命令时出现问题。原因:未找到由码头供电的


// 警告:未在失败的目录上使用缓存 错误:无法检索目录;跳绳跑
我正在学习一个较旧版本的教程,而对于最新版本(Puppet v4.x),我们需要有不同的模块。 PuppetMaster和PuppetDb之间有一个接口,负责对PuppetDb进行API调用,在它要求安装的链接中

sudo puppet资源包
puppetdb terminus
sure=latest
,它使用puppetdb的
/v3
api,而对于最新版本,我们需要安装

sudo puppet资源包
puppetdb termini
sure=latest
它使用了PuppetDb的
/v4
api


问题解决了

谢谢你更新答案。
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Failed to submit 'replace facts' command for puppetmaster.test.org to PuppetDB at puppetmaster.test.org:8081: [404 ] <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>
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run