h101com 发表于 2015-9-16 11:31:31

puppet 启动失败

  puppetmaster 启动失败
  Could not prepare for execution: The certificate retrieved from the master does not match the agent's private key.
Certificate fingerprint: 7D:99:EE:15:12:0F:AF:4D:95:E5:23:15:E7:A9:F7:2F
To fix this, remove the certificate from both the master and the agent and then start a puppet run, which will automatically regenerate a certficate.
On the master:
puppet cert clean xxxx
On the agent:
rm -f /var/lib/puppet/ssl/certs/xxxx.pem
puppet agent -t
                                                         
  貌似
  puppet cert clean xxxx 删除不了证书
  
  再 /var/lib/puppet/ssl/certs/
  下删除.pem文件, 重启就好了
  
  
  
  
  可是其他的问题来了, 客户端怎么请求没有用
  什么可能是 时间同步的问题, 各种试啊, 都没有成功, 可能是对 证书啊, ca, 认证, 签名不理解, 对puppet整个架构理解不够,
  
  在两台 xen节点上运行成功了
  centos 6.4
  -------------------------------------
  # puppetca --list
"node22.km.hm" (29:B6:5A:95:08:1A:07:51:F1:69:4C:74:64:48:A5:A8)

  还是先试着用puppet 慢慢加深理解吧
页: [1]
查看完整版本: puppet 启动失败