2015-07-21 65 views
1

我運行Puppet 4.2(包括主機和客戶機),並且從昨天開始,我在運行puppet agent -t時開始出現奇怪的錯誤。Puppet 4.2正在打印奇怪的錯誤消息,並在執行失敗

# 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 

我puppet.conf很簡單:

[main] 
    certname = mastermachine 
[agent] 
    server = mastermachine 
    pluginsync = true 
    runinterval = 300 

我正在Arch Linux的臂,如果該事項。

Puppet master啓動並偵聽指定的端口(8140)。
正如我所說,它昨天工作。

發生了什麼事?

+0

即運行間隔相當迅速。那裏有多少個代理?你使用puppetserver嗎?如果沒有,主人的堆棧是什麼(Passenger?WEBrick/standalone?)您是否檢查過主人的日誌?有沒有跡象表明目錄編譯在主端有多長?你有沒有嘗試重新啓動主服務? –

回答

0

這個工作對我來說(i686的拱):

mkdir /etc/puppetlabs/code/environments/production/modules