码迷,mamicode.com
首页 > 其他好文 > 详细

puppet更新失败

时间:2015-04-16 01:06:23      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:

# puppet-update
puppet: no process found
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Error 400 on SERVER: Could not retrieve facts for xx-xx-xx-xx.xxxx.xx: Failed to find facts from PuppetDB at xx-xx-xxx-x.localdomain:28081: getaddrinfo: Name or service not known
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to submit ‘replace facts‘ command for xx-xx-xx-xx.xxxx.xx to PuppetDB at xx-xx-xxx-x.localdomain:28081: getaddrinfo: Name or service not known
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

 

原来是puppetdb的配置是由puppet管理的,而其中的配置用到了变量fqdn。所以是facter影响的。

最终,修改/etc/hosts,在第一行插入:127.0.0.1 xx-xx-xx-xx.xxxx.xx。(在其他行 或 用其他IP都会有问题)

解决完成。

puppet更新失败

标签:

原文地址:http://www.cnblogs.com/laozhizi/p/4430684.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!