我有一个在Xen dom0上运行的木偶大师,并且有3个domUs通过每小时的crontab木偶代理–test同步.
大约80%的时间,木偶代理 – 测试成功完成:
info: Retrieving plugin info: Caching catalog for test3 info: Applying configuration version '1333319732' notice: Finished catalog run in 5.08 seconds
另外20%的时间,它在中途失败,出现以下错误:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class iptables for test1 at /etc/puppet/manifests/site.pp:1 on node test1 warning: Not using cache on Failed catalog err: Could not retrieve catalog; skipping run
要么
info: Retrieving plugin info: Caching catalog for test2 info: Applying configuration version '1333319732' notice: Finished catalog run in 24.73 seconds err: Could not send report: Error 500 on SERVER: Internal Server Error private method `gsub' called for WEBrick::HTTPStatus::RequestTimeout:Class WEBrick/1.3.1 (Ruby/1.8.5/2006-08-25) OpenSSL/0.9.8e-rhel5 at puppet:8140
要么
info: Retrieving plugin err: Could not retrieve catalog from remote server: execution expired warning: Not using cache on Failed catalog err: Could not retrieve catalog; skipping run
要么
info: Retrieving plugin info: Caching catalog for test3 info: Applying configuration version '1333319732' notice: Finished catalog run in 9.47 seconds err: Could not send report: Error 408 on SERVER: Request Timeout
在此期间,我没有对Puppet配置进行任何更改 – 它只是偶尔会失败.
我在CentOS上运行puppet-2.7.12,并按照http://docs.puppetlabs.com/learning/agent_master_basic.html中描述的设置说明进行操作.
关于我如何解决这个问题的任何想法?
几个星期前,我将运行puppet master的虚拟机的内存分配增加了几百兆,从那时起就没有任何失败.
原文链接:https://www.f2er.com/centos/373424.html(这是表示记忆力不足的奇怪方式……)