[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Aggregating container logs using Kibana





On Tue, Apr 5, 2016 at 10:26 AM, Luke Meyer <lmeyer redhat com> wrote:

2016-04-05 10:55:13 +0000 [error]: unexpected error error_class=Errno::EACCES error=#<Errno::EACCES: Permission denied - /var/log/es-containers.log.pos>

This looks like https://github.com/openshift/origin-aggregated-logging/issues/89 - keeps fluentd from reading any logs on the node.

You should be able to resolve this by adding the fluentd service account to the privileged SCC, then having fluentd restart everywhere.

 oadm policy add-scc-to-user privileged system:serviceaccount:logging:aggregated-logging-fluentd

Oh; probably need to also remove them from the  hostmount-anyuid SCC.
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]