从mcollective运行时,Puppet不会应用更新

时间:2014-03-04 00:32:52

标签: puppet mcollective

我有客户连接到puppetmaster,我正在通过mcollective运行puppet agent命令。就在今天(据我所知,我们没有改变任何东西)所有mco puppet命令都导致没有应用任何更改。机器运行puppet代理,我可以在日志中看到目录运行完成,它只是没有做任何事情。但是,如果我ssh到代理框并运行puppet它应用适当的更改。

我确切地检查了什么命令mcollective告诉木偶运行它是puppet agent --test --color=false --splay --splaylimit 30。所以我确保这也是我在盒子上运行的东西。

更新:我刚刚注意到,在过去的几天里,当我从mcollective运行puppet时,我们开始遇到一些Could not retrieve catalog from remote server: wrong header line format错误。同样,当我在命令行手动运行它时,这种情况永远不会发生。

这些是Ubuntu盒子(12.10),在代理上运行puppet 3.4.2,在puppetmaster上使用mcollective 2.4.0运行3.3.0。

1 个答案:

答案 0 :(得分:0)

事实证明,木偶只是传递了hiera的错误。我们使用的是hiera_http后端&是它得到了wrong header line format错误。似乎我们的JSON下载速度有点慢。通过让jenkins首先将JSON下载到hiera数据文件夹,然后运行puppet来修复它。