Fixes fluentd for rocky

Pin fluent-plugin-elasticsearch to 4.0.0

fluent-plugin-elasticsearch now requires at least ruby 2.3 which is
not possible to run on ubuntu/debian for rocky after
https://review.opendev.org/#/c/704040/

[1] https://rubygems.org/gems/fluent-plugin-elasticsearch/versions/4.0.0
[2] https://rubygems.org/gems/fluent-plugin-elasticsearch/versions/4.0.1

Closes-Bug: #1862522

Change-Id: I94695b03791b1028d528052d772fc302ab8080ee
This commit is contained in:
Dincer Celik 2020-02-09 17:39:05 +03:00
parent e1c0cb16e9
commit 21dabe0bef
2 changed files with 6 additions and 1 deletions

View File

@ -68,7 +68,7 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% set fluentd_plugins = [ {% set fluentd_plugins = [
'fluentd:"<1.9.0"', 'fluentd:"<1.9.0"',
'faraday:"~>0.15.4"', 'faraday:"~>0.15.4"',
'fluent-plugin-elasticsearch', 'fluent-plugin-elasticsearch:4.0.0',
'fluent-plugin-grep', 'fluent-plugin-grep',
'fluent-plugin-grok-parser:2.1.4', 'fluent-plugin-grok-parser:2.1.4',
'fluent-plugin-parser', 'fluent-plugin-parser',

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Pin fluent-plugin-elasticsearch version to 4.0.0 which is the last
version that supports ruby below 2.3.