首页 > 其他 > 详细

puppet

时间:2015-05-10 17:06:38      阅读:725      评论:0      收藏:0      [点我收藏+]

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给这台主机签名。

puppet

原文:http://www.cnblogs.com/laozhizi/p/4492343.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!