标签:
puppetmaster启动失败,提示:
Error: Could not configure routes from /etc/puppet/routes.yaml: Could not find terminus puppetdb for indirection facts
安装以下软件即可:
apt-get install puppetdb-terminus
解决。
以下错误:
Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using ‘eval_generate‘: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: testhost.localdomain]
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://testhost.localdomain/pluginfacts: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: testhost.localdomain]
Wrapped exception:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed: [self signed certificate in certificate chain for /CN=Puppet CA: testhost.localdomain]
解决:
find /var/lib/puppet -type f -print0 |xargs -0r rm
第一次将删除语句执行在了master主机上,客户端连接报以下错:
Error: Could not request certificate: Find /production/certificate/ca?fail_on_404=true resulted in 404 with the message: Not Found: Could not find certificate ca
重启puppetmaster即可。
Exiting; no certificate found and waitforcert is disabled
解决:puppetmaster给这台主机签名。
标签:
原文地址:http://www.cnblogs.com/laozhizi/p/4492343.html