标签:
# 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都会有问题)
解决完成。
标签:
原文地址:http://www.cnblogs.com/laozhizi/p/4430684.html