我正在运行Puppet 4.2(主机和客户端),从昨天开始,当运行puppet agent -t
时,我开始得到奇怪的错误。
# puppet agent -t
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: execution expired
Info: Retrieving pluginfacts
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': execution expired
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: execution expired
Info: Retrieving plugin
Error: /File[/opt/puppetlabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': execution expired
Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: execution expired
Error: Could not retrieve catalog from remote server: execution expired
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: execution expired
My puppet.conf非常简单:
[main]
certname = mastermachine
[agent]
server = mastermachine
pluginsync = true
runinterval = 300
我正在运行Arch Linux-arm,如果这很重要。
Puppet master已启动并在其指定的端口(8140)上侦听。
就像我说的,它昨天起作用了。
发生了什么事?
这个为我工作(i686 arch):
mkdir /etc/puppetlabs/code/environments/production/modules