码迷,mamicode.com
首页 > 其他好文 > 详细

puppet

时间:2015-05-10 17:08:45      阅读:458      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!