Created attachment 1342036 [details] The mux fluentd logs Description of problem: Once enabled remote_syslog varaibles, the fluentd pod can not be started. it report "cannot load such file -- /etc/fluent/plugin/*.rb (LoadError)". Version-Release number of selected component (if applicable): logging-fluentd:v3.7.0-0.174.0.0 How reproducible: always Steps to Reproduce: 1. Enable syslog for mux pod openshift_logging_use_mux=true openshift_logging_mux_remote_syslog=true openshift_logging_mux_remote_syslog_host=10.66.xxx.xxx 2. Deploy logging and check the mux pod logs Actual results: from /usr/bin/fluentd:23:in `<main>' 2017-10-23 01:11:34 -0400 [error]: fluentd main process died unexpectedly. restarting. /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- /etc/fluent/plugin/*.rb (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/plugin.rb:89:in `block in load_plugin_dir' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/plugin.rb:87:in `each' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/plugin.rb:87:in `load_plugin_dir' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/engine.rb:138:in `load_plugin_dir' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:519:in `block in init_engine' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:516:in `each' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:516:in `init_engine' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:158:in `block in start' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:366:in `call' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:366:in `main_process' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:339:in `block in supervise' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:338:in `fork' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:338:in `supervise' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/supervisor.rb:156:in `start' from /usr/share/gems/gems/fluentd-0.12.39/lib/fluent/command/fluentd.rb:173:in `<top (required)>' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/share/gems/gems/fluentd-0.12.39/bin/fluentd:5:in `<top (required)>' from /usr/bin/fluentd:23:in `load' from /usr/bin/fluentd:23:in `<main>' 2017-10-23 01:11:35 -0400 [error]: fluentd main process died unexpectedly. restarting. Expected results: Additional info:
@Jan, I am assigning to you as you were working on vendoring the other plugin as well
Commits pushed to master at https://github.com/openshift/origin-aggregated-logging https://github.com/openshift/origin-aggregated-logging/commit/f5d1c3ad138ab42c3b39d0c9cf6cbfc4b603a600 Bug 1505273 fluentd failed to load plugin when remote_syslog was enabled https://bugzilla.redhat.com/show_bug.cgi?id=1505273 The syslog plugin is installed in a different location when using RPM packaging. https://github.com/openshift/origin-aggregated-logging/commit/25ac8982f945fab9c95fb7ccda5e13c2a20c5013 Merge pull request #744 from richm/bug-1505273 Automatic merge from submit-queue. Bug 1505273 fluentd failed to load plugin when remote_syslog was enabled https://bugzilla.redhat.com/show_bug.cgi?id=1505273 The syslog plugin is installed in a different location when using RPM packaging. /test
koji_builds: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=612936 repositories: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-fluentd:rhaos-3.7-rhel-7-docker-candidate-79931-20171025012405 brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-fluentd:latest brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-fluentd:v3.7.0 brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-fluentd:v3.7.0-0.177.0.1 brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-fluentd:v3.7
Verified and pass with fluentd v3.7.0-0.188.0.0
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