【发布时间】:2017-08-11 17:15:58
【问题描述】:
操作系统:'CentOS 6.5 '
ElasticSearch 版本:'2.3.0'
大师傀儡版:'3.8.7'
客户的傀儡版本:'3.7.4'
升级前的基本模块版本:'0.10.2'
升级后的基本模块版本:'5.1.0'
错误:无法从远程服务器检索目录:错误 400 on 服务器:无效参数 elasticsearch_package_name on Elasticsearch_plugin[许可证] 在 /etc/puppet/environments/production/modules/elasticsearch/manifests/plugin.pp:169 在节点 bla-test01.dom 上'
你好,
此错误是在我们将 Elasticsearch 的基础(来自 puppet forge 的官方)模块从版本“0.10.2”升级到“5.1.0”后开始的。我们的 elasticsearch puppet 模块在升级前运行良好。
自从升级以来,每当 puppet 在我们的节点上运行时都会发生此错误。
在我们看到this 案例后,我们尝试重新启动我们的 puppetserver 服务。自重新启动以来,每运行 3-4 次 puppet 就会出现一次错误,我们不知道为什么。
【问题讨论】:
-
你能粘贴那个 puppet 文件第 169 行的
/etc/puppet/environments/production/modules/elasticsearch/manifests/plugin.pp:169的内容吗? -
您使用的是哪个 forge 模块,因为 forge 上有很多模块,而最流行的模块是 6.4.0 版。我会说 puppet-labs 不再支持你的 puppet 版本,因此可能已经从你正在使用的foge模块中删除了这种支持。最后从 0.* 到 5.* 是一个很大的飞跃,我猜你确实读过更改日志?
标签: elasticsearch centos puppet elasticsearch-plugin