首页 > 其他 > 详细

puppet更新失败

时间:2015-04-16 01:04:15      阅读:296      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!