kubernetes: ConfigError error=Unknown filter plugin 'concat'
What happened: fluentd-es-v2.2.1 seems to be missing a gem when starting up.
What you expected to happen: The pod starts up
How to reproduce it (as minimally and precisely as possible):
Deploy fluentd-es-ds.yaml with corresponding configmap
Anything else we need to know?:
2018-10-25 22:14:56 +0000 [error]: config error file="/etc/fluent/fluent.conf" error_class=Fluent::ConfigError error="Unknown filter plugin 'concat'. Run 'gem search -rd fluent-plugin' to find plugins"
Environment:
- Kubernetes version (use
kubectl version):
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.7", GitCommit:"0c38c362511b20a098d7cd855f1314dad92c2780", GitTreeState:"clean", BuildDate:"2018-08-20T10:09:03Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.3", GitCommit:"a4529464e4629c21224b3d52edfe0ea91b072862", GitTreeState:"clean", BuildDate:"2018-09-09T17:53:03Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
- OS (e.g. from /etc/os-release):
Ubuntu Xenial 16.04 LTS - Kernel (e.g.
uname -a):
Linux kube-minion-02 4.15.0-36-generic #39~16.04.1-Ubuntu SMP Tue Sep 25 08:59:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
/king bug
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 22 (1 by maintainers)
Om my side I figured it out by rebuilding my own fluentd container.
You can find the original Dockerfile here: https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/fluentd-elasticsearch/fluentd-es-image
Don’t forget to
chmod +x clean-*before running make 😉@ltupin worked 😃
@kubernetes-team just push the new version to the registry please
Thanks, @ltupin . I built the image from source and it works perfectly.
@zhwill you can try to use my image https://cloud.docker.com/u/siliconavengers/repository/docker/siliconavengers/fluentd-elasticsearch
Not able to build new image as well now. Getting below error: /bin/sh: 1: ulimit: error setting limit (Operation not permitted)
Newer version on fluentd-es image i.e. 2.3.1 giving same error as older versions:
config error file=“/etc/fluent/fluent.conf” error_class=Fluent::ConfigError error=“Unknown filter plugin ‘concat’. Run ‘gem search -rd fluent-plugin’ to find plugins”
Thank you @ltupin, I can confirm that rebuilding the image from source and posting it to my private container registry fixes this issue. It seems like the concat plugin was added, versions were bumped but a new image was not created. Concat added: https://github.com/kubernetes/kubernetes/commit/079136fd5964502e6d3b43a6bdbabe24d078767d Versions bumped without a new image: https://github.com/kubernetes/kubernetes/commit/def00298c3c47b514895d3978f47f2fdc2733a73
Worked for me as well, created my own image and pushed to docker registry and arrived to my goal. Thanks
same as @ermajn said @chandaku 😉
@chandaku I’ve builded image also. Pushed it to my docker registry and changed configuration so it uses my image instead of pre-builded one.