puppet 错误记录

Posted caonw

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了puppet 错误记录相关的知识,希望对你有一定的参考价值。

Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: master.puppetcao.com]
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using ‘eval_generate‘: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: master.puppetcao.com]
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://master.puppetcao.com/pluginfacts: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: master.puppetcao.com]
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ‘eval_generate‘: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: master.puppetcao.com]
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file metadata for puppet://master.puppetcao.com/plugins: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: master.puppetcao.com]
Error: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: master.puppetcao.com]
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: master.puppetcao.com]

 修改puppet报错,原因把main配置信息,下面这部分去掉了,导致找不到认证信息。

[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl

  

 

   

以上是关于puppet 错误记录的主要内容,如果未能解决你的问题,请参考以下文章

记录最新puppeteer删除navigator.webdriver

Puppeteer 的 chromium 打开时出现错误并停止 puppeteer 脚本

Puppeteer 无法打开 chrome(出现错误)

Puppeteer 错误:未下载 Chromium 修订版

Puppeteer cors 错误

Puppeteer - 协议错误(Page.navigate):目标已关闭