Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluentd daemonset crashing #325

Closed
ctas582 opened this issue Aug 13, 2018 · 2 comments
Closed

Fluentd daemonset crashing #325

ctas582 opened this issue Aug 13, 2018 · 2 comments

Comments

@ctas582
Copy link
Contributor

ctas582 commented Aug 13, 2018

When I deploy the EFK stack using:

kubectl apply -f https://goo.gl/MUZhE4

the fluentd pods keep crashing with the following error message:

2018-08-13 18:48:12 +0000 [error]: unexpected error error_class=Errno::EACCES error=#<Errno::EACCES: Permission denied @ rb_sysopen - /var/log/fluentd-containers.log.pos>

A recent update to the fluentd-kubernetes-daemonset README says that fluentd needs to be run as the root user, which can be done by setting the FLUENT_UID envvar to "0". Deploying that additional envvar does fix it.

I'm assuming this YAML used to work, but I've been unable to trace what has changed which means it doesn't though. Have other people seen this?

@bridgetkromhout
Copy link
Collaborator

Thanks for finding this! We'll take a look and see if we can reproduce.

@jpetazzo
Copy link
Owner

Ah yes, my buddy @abuisine suggested exactly this (setting FLUENT_UID to 0) and
he linked to this → fluent/fluentd-kubernetes-daemonset#164

Keeping this issue open to track it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants