Error installing fluent-plugin-kubernetes_metadata_filter at pike

Bug #1766195 reported by Quique Llorente
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Quique Llorente

Bug Description

Pike's promotion job periodic-tripleo-centos-7-pike-containers-build

https://logs.rdoproject.org/openstack-periodic-24hr/periodic-tripleo-centos-7-pike-containers-build/b7b3eff/kolla/logs/fluentd.log

INFO:kolla.image.build.fluentd: ---> db57cf0f0c0c
INFO:kolla.image.build.fluentd:Step 7/8 : RUN ulimit -n 65536 && gem install --minimal-deps activesupport:4.2.9 public_suffix:2.0.5 fluent-plugin-parser fluent-plugin-kubernetes_metadata_filter fluent-plugin-elasticsearch:1.10.2 fluent-plugin-grep fluent-plugin-grok-parser:0.3.1 fluent-plugin-rewrite-tag-filter:1.6.0 fluent-plugin-secure-forward && chmod -R 440 /etc/sudoers.d/kolla_fluentd_sudoers && chmod 755 /usr/local/bin/kolla_extend_start && mkdir -p /var/run/fluentd && chown -R fluentd: /etc/fluentd /var/run/fluentd
INFO:kolla.image.build.fluentd: ---> Running in d82758f16688
INFO:kolla.image.build.fluentd:
INFO:kolla.image.build.fluentd:unable to convert "\x84" from ASCII-8BIT to UTF-8 for lib/active_support/values/unicode_tables.dat, skipping
INFO:kolla.image.build.fluentd:
INFO:kolla.image.build.fluentd:ERROR: Error installing fluent-plugin-kubernetes_metadata_filter:
INFO:kolla.image.build.fluentd: serverengine requires Ruby version >= 2.1.0.
INFO:kolla.image.build.fluentd:
INFO:kolla.image.build.fluentd:invalid options: -SHN
INFO:kolla.image.build.fluentd:(invalid options are ignored)
INFO:kolla.image.build.fluentd:

yatin (yatinkarel)
tags: added: alert
Revision history for this message
yatin (yatinkarel) wrote :

In pike gems are installed from upstream([1]). Since this is failing after 19th, on 19th there are new releases for fluent-plugin-kubernetes_metadata_filter, Those must have the issue, Last known good release is fluent-plugin-kubernetes_metadata_filter:1.0.1.

Also noticed in queens/master these gems are installed from RPM, so not having this issue:

[1] https://github.com/openstack/kolla/blob/stable/pike/docker/fluentd/Dockerfile.j2
[2] https://github.com/openstack/kolla/commit/ee127b9e76c6e0673ab183bba9b27302645d2b27

Changed in tripleo:
status: New → Confirmed
Revision history for this message
yatin (yatinkarel) wrote :

Forgot to add link for new releases on 19th April:- https://rubygems.org/gems/fluent-plugin-kubernetes_metadata_filter/versions

Changed in tripleo:
status: Confirmed → Triaged
Revision history for this message
yatin (yatinkarel) wrote :

Proposed Review in Kolla stable/pike:- https://review.openstack.org/#/c/563657/

Revision history for this message
Richard Megginson (rmeggins) wrote :

In order to support ruby 2.0 and fluentd 0.12, you need to change the gem install to use

     'fluent-plugin-kubernetes_metadata_filter:<2' \

Otherwise you'll get the 2.0 version which requires ruby 2.4 and fluentd 1.0

Changed in tripleo:
assignee: Gabriele Cerami (gcerami) → Quique Llorente (quiquell)
Changed in tripleo:
status: Triaged → In Progress
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.3

This issue was fixed in the openstack/kolla 5.0.3 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.