# 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都会有问题)

解决完成。

相关文章:

  • 2022-01-18
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
  • 2021-12-16
  • 2021-04-24
  • 2021-10-17
猜你喜欢
  • 2021-11-22
  • 2021-11-02
  • 2021-11-02
  • 2021-10-14
  • 2021-10-07
  • 2021-09-04
  • 2021-04-30
相关资源
相似解决方案