Skip to content

Commit

Permalink
Fixes fluentd for rocky
Browse files Browse the repository at this point in the history
Pin fluentd version to 1.8.x

fluentd has dropped support for ruby 2.3 and below at the end of 2019.

1) https://www.fluentd.org/blog/drop-schedule-announcement-in-2019
2) fluent/fluentd#2750

Closes-Bug: #1860701

Change-Id: I29f54dc94a6e49118ce15401017947c07ed3ca54
  • Loading branch information
dincercelik committed Jan 23, 2020
1 parent 0ff85f9 commit 107d154
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/fluentd/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block fluentd_plugins_install %}

{% if base_distro in ['debian', 'ubuntu'] %}
# NOTE(osmanlicilegi): fluentd has dropped support for ruby 2.3 and below at
# the end of 2019 so we need to pin its version to 1.8.x.
# NOTE(mgoddard): fluent-plugin-elasticsearch requires faraday, which from
# 0.16.0 depends on Ruby 2.3, but td-agent provides its own older version of
# Ruby.
{% set fluentd_plugins = [
'fluentd:"<1.9.0"',
'faraday:"~>0.15.4"',
'fluent-plugin-elasticsearch',
'fluent-plugin-grep',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Pin fluentd version to 1.8.x for rocky as fluentd has dropped
support for ruby 2.3 and below at the end of 2019.

0 comments on commit 107d154

Please sign in to comment.