zoukankan      html  css  js  c++  java
  • 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
                                                               [FAILED]

    貌似

    puppet cert clean xxxx 删除不了证书

    再 /var/lib/puppet/ssl/certs/

    下删除.pem文件, 重启就好了

    可是其他的问题来了, 客户端怎么请求没有用

    什么可能是 时间同步的问题, 各种试啊, 都没有成功, 可能是对 证书啊, ca, 认证, 签名不理解, 对puppet整个架构理解不够,

    在两台 xen节点上运行成功了

    centos 6.4

    -------------------------------------

    [root@node21 init.d]# puppetca --list
      "node22.km.hm" (29:B6:5A:95:08:1A:07:51:F1:69:4C:74:64:48:A5:A8)

    还是先试着用puppet 慢慢加深理解吧

  • 相关阅读:
    Laravel5.0学习--01 入门
    MySQL账户安全设置
    360路由器c301最新固件支持万能中继
    PsySH:PHP交互运行环境
    PHP-CS-Fixer:格式化你的PHP代码
    JVM 类加载机制详解
    Java虚拟机(JVM)概述
    聊一聊 Spring 中的线程安全性
    Java 里如何实现线程间通信
    Java 数据结构
  • 原文地址:https://www.cnblogs.com/kwingmei/p/3775836.html
Copyright © 2011-2022 走看看