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 慢慢加深理解吧

  • 相关阅读:
    Linux 命令
    g++/gcc
    emacs lisp
    vim 快捷键
    emacs快捷键
    Valgrind 例子
    Valgrind
    gprof
    cppcheck
    gdb常用命令
  • 原文地址:https://www.cnblogs.com/kwingmei/p/3775836.html
Copyright © 2011-2022 走看看