【发布时间】:2015-05-22 08:44:07
【问题描述】:
在自动扩展我们的虚拟集群时遇到了一些 puppet 问题。由于 puppetmaster 只有 /etc/hosts 中的现有节点,而我们创建的新节点不在 DNS 中,所以当新节点尝试连接到 master 时,我们会在 puppet master 日志中收到此错误:
node-4 has a waiting certificate request
Signed certificate request for node-4
Removing file Puppet::SSL::CertificateRequest node-4 at /var/lib/puppet/ssl/ca/requests/node-4.pem'
Error: Could not resolve 192.168.0.37: no name for 192.168.0.37
有没有办法解决这个问题? (除了在 DNS/etc/hosts 中添加)
【问题讨论】:
-
不知道为什么会出现这个问题。 FWIW,这已经在ServerFault 上被询问和回答了。
标签: puppet