战魔312 发表于 2014-10-13 14:47

puppet配置环境的问题

# puppet agent --test --noop --environment testing
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Connection timed out - connect(2)
Info: Retrieving pluginfacts
Error: /File: Failed to generate additional resources using 'eval_generate': Connection timed out - connect(2)
Error: /File: Could not evaluate: Could not retrieve file metadata for puppet://puppet/pluginfacts: Connection timed out - connect(2)
Wrapped exception:
Connection timed out - connect(2)
Info: Retrieving plugin
Error: /File: Failed to generate additional resources using 'eval_generate': getaddrinfo: Name or service not known
Error: /File: Could not evaluate: Could not retrieve file metadata for puppet://puppet/plugins: Connection timed out - connect(2)
Wrapped exception:
Connection timed out - connect(2)
Error: Could not retrieve catalog from remote server: Connection timed out - connect(2)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Connection timed out - connect(2)


请大拿看看,这个是什么原因造成的,我是按照puppet实例这这本书配置的,客户端运行后报错,帮忙看下啊,谢谢!!

rdcwayx 发表于 2014-10-16 09:20

本帖最后由 rdcwayx 于 2014-10-16 09:22 编辑

给我些信息:
1. 你装的是puppet open source 还是 puppet Enterprice (PE ),以及版本号。
2. puppet config print 的命令输出
3. 还有,你的puppet master 和agent是装在一台服务器上的吗? /etc/hosts 的ip地址 和对应的hostname都配好了吗?互相之间的联通有问题吗?
页: [1]
查看完整版本: puppet配置环境的问题