Bug 1491947

Summary: "Unknown filter plugin 'k8s_meta_filter_for_mux_client' error in fluentd pod log when enabled mux service
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: LoggingAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: high Docs Contact:
Priority: high    
Version: 3.7.0CC: aos-bugs, rmeggins
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
I don't think this needs a doc update since this was found by internal QE before it was shipped to customers.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 22:10:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1460749    
Attachments:
Description Flags
fluentd log file none

Description Junqi Zhao 2017-09-15 06:02:30 UTC
Created attachment 1326316 [details]
fluentd log file

Description of problem:
Deploy logging 3.7 with mux service, "Unknown filter plugin 'k8s_meta_filter_for_mux_client' error in fluentd pod log, and fluentd can not work.
# oc get po | grep fluentd
logging-fluentd-hg5w5                     0/1       CrashLoopBackOff   9          49m
logging-fluentd-zw39h                     1/1       Running            0          49m

# oc logs logging-fluentd-hg5w5
2017-09-15 05:34:19 +0000 [info]: reading config file path="/etc/fluent/fluent.conf"
2017-09-15 05:34:21 +0000 [error]: config error file="/etc/fluent/fluent.conf" error="Unknown filter plugin 'k8s_meta_filter_for_mux_client'. Run 'gem search -rd fluent-plugin' to find plugins"
2017-09-15 05:34:21 +0000 [error]: fluentd main process died unexpectedly. restarting.
2017-09-15 05:34:22 +0000 [error]: config error file="/etc/fluent/fluent.conf" error="Unknown filter plugin 'k8s_meta_filter_for_mux_client'. Run 'gem search -rd fluent-plugin' to find plugins"
2017-09-15 05:34:22 +0000 [error]: fluentd main process died unexpectedly. restarting.
2017-09-15 05:34:24 +0000 [error]: config error file="/etc/fluent/fluent.conf" error="Unknown filter plugin 'k8s_meta_filter_for_mux_client'. Run 'gem search -rd fluent-plugin' to find plugins"
2017-09-15 05:34:24 +0000 [error]: fluentd main process died unexpectedly. restarting.

Version-Release number of selected component (if applicable):
# rpm -qa | grep openshift-ansible
openshift-ansible-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
openshift-ansible-roles-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
openshift-ansible-docs-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
openshift-ansible-callback-plugins-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
openshift-ansible-filter-plugins-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
openshift-ansible-playbooks-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
openshift-ansible-lookup-plugins-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch

Images
logging-kibana:v3.7.0-0.126.1.0
logging-fluentd:v3.7.0-0.126.1.0
logging-auth-proxy:v3.7.0-0.126.1.0
logging-curator:v3.7.0-0.126.1.0
logging-elasticsearch:v3.7.0-0.126.1.0

How reproducible:
Always

Steps to Reproduce:
1. Deploy logging 3.7 with mux, inventory file see the [Additional info] part
2.
3.

Actual results:
"Unknown filter plugin 'k8s_meta_filter_for_mux_client' error in fluentd pod log

Expected results:
There should not be error in fluentd pod log

Additional info:
# inventory file
[OSEv3:children]
masters
etcd

[masters]
${MASTER_URL} openshift_public_hostname=${MASTER_URL}

[etcd]
${MASTER_URL} openshift_public_hostname=${MASTER_URL}

[OSEv3:vars]
ansible_ssh_user=root
ansible_ssh_private_key_file="~/libra.pem"
deployment_type=openshift-enterprise
openshift_docker_additional_registries=registry.ops.openshift.com

# Logging
openshift_logging_install_logging=true
openshift_logging_kibana_hostname=kibana.${SUB_DOMAIN}
public_master_url=https://${MASTER_URL}:8443
openshift_logging_image_prefix=registry.ops.openshift.com/openshift3/
openshift_logging_image_version=v3.7
openshift_logging_namespace=logging
openshift_logging_elasticsearch_cpu_limit=500m
openshift_logging_elasticsearch_memory_limit=1Gi
openshift_logging_use_mux=true
openshift_logging_mux_client_mode=maximal
openshift_logging_mux_memory_limit=1Gi

Comment 1 Jeff Cantrill 2017-09-15 14:27:03 UTC
Duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1490395

Comment 2 Rich Megginson 2017-09-16 21:50:08 UTC
Fixed in logging-fluentd-docker-v3.7.0-0.126.4.0

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=597416

Comment 3 Junqi Zhao 2017-09-18 01:21:15 UTC
Tested with logging-fluentd:v3.7.0-0.126.4.0, no error in fluentd pod logs now.

Testing env:
# openshift version
openshift v3.7.0-0.126.4
kubernetes v1.7.0+80709908fd
etcd 3.2.1

Comment 7 errata-xmlrpc 2017-11-28 22:10:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:3188