我的木偶代理随机失败,出现以下错误: err Could not retrieve catalog from remote server: execution expired Puppet 2014-09-11 22:25 UTC err Could not retrieve catalog; skipping run Puppet 2014-09-11 22:25 UTC notice Using cach
当Puppet Master服务器上的负载太高而无法将编译目录发送到代理程序时,可能会导致此问题.err Could not retrieve catalog from remote server: execution expired Puppet 2014-09-11 22:25 UTC
err Could not retrieve catalog; skipping run Puppet 2014-09-11 22:25 UTC
notice Using cached catalog Puppet 2014-09-11 22:25 UTC
首先检查是否有任何服务正在使用所有可用资源,或者服务器是否对其获得的请求不足.如果所有代理程序同时运行,请编辑控制其运行时间的cron作业以将其展开.
如果所有其他方法都失败了,那么允许代理花费更长时间来接收目录可能会有效.这可以通过将configtimeout setting添加到puppet.conf文件(/etc/puppet/puppet.conf)并增加值来完成.它默认为“2m”,意味着两分钟.