-
Notifications
You must be signed in to change notification settings - Fork 248
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
bug: fluentd unable to start with error="fork/exec /usr/local/bundle/bin/fluentd: no such file or directory" #1187
Comments
@benjaminhuo @wenchajun Can someone please review this? |
same error on fluent/fluent-operator/fluentd:v2.8.0 |
I think that in general each new image should have a new tag (does not apply to floating tags, like "latest"). |
I would agree. Folks rely on versioned tags for stability and they should be immutable. If these images are going to be rebuilt for whatever reason, perhaps an internal "patch" version should be added (eg, |
This might be related to the CI changes we made recently, cc @sarathchandra24 I also remember there is an PR for a similar issue from @sarathchandra24 Would you help to take a look? @sarathchandra24 Thanks |
@benjaminhuo It looks like the |
Sorry for the late response everyone, I realized the problem after running it locally. Root cause is defaultBinPath on main.go#L22 for amd64 it is"/usr/bin/fluentd" and for arm64 it is "/usr/local/bundle/bin/fluentd". Creating a PR for logic to choose path based on arch. |
Thank you very much @sarathchandra24 |
both 1.15.3 and 1.17.0 are updated, would you try again? @joshuabaird |
@benjaminhuo @sarathchandra24 The bug is still present in
It looks like the |
@joshuabaird Can I know what OS are you using. Also, I think there is something wrong with the builds or build system. You see the message
Also for You see the message
But this is not the case while running |
@joshuabaird Can you please run
and
To check if GitHub images are working After inspecting images on GitHub running: We can see the message running: We can see the message |
@sarathchandra24 Yeah - I'm not seeing the log statements on the images in Dockerhub. The images on Github do appear to be working as expected (I see the log statements). We may have a CI problem with copying from Github to Dockerhub. I'll take a look at the CI runs and see if I can spot anything. |
@benjaminhuo Also, just noticed that the fluentbit images aren't available in Github (ghcr.io) -- so we probably need to manually run the CI job that pushes them. |
It also looks like the
The
|
@joshuabaird I've added you as the maintainer, and you can trigger the image build here: |
@benjaminhuo @sarathchandra24 Is the intention to build and maintain both v1.15.3 and v1.17.0 fluentd images? Even if you pass
So, if the intention is to build/maintain both v1.15.3 and 1.17.0, the |
@joshuabaird You're right, the version is hardcoded in dockerfile for fluentd, we need to change that to use new version of fluentd |
@benjaminhuo But do we want to continue to support v1.15.3 or just modify the Dockerfiles to use 1.17.0? |
we already have 1.51.3 image built that meets some people's requirement, I think we can move on to the latest version of fluentd, the image can be replaced to a older version if he needs |
@joshuabaird The new fluentd image for 1.17 has been rebuilt after your PR, would you give it a try? |
Things are looking good. I'm going to open a PR to update fluentbit and then we'll rebuild the fluentbit images so they get pushed to GHCR. |
@benjaminhuo Any idea why This is confusing, because it's the operator tag, not the fluentd/fluent-bit tag. This is causing dependency update apps (like Dependabot/Renovate) to try and update these images. Should we delete them? |
@joshuabaird I can delete them, they're created by wrong CI workflow |
image 2.8.0 are all deleted |
@benjaminhuo Great, thank you! |
We use Fluent-operator version 2.7.0, which uses Fluentd v.1.15.3. Unfortunately, we get the same error now: |
@vajgi90 It looks like the amd64 image on Dockerhub for
|
Great, thank you so much for the quick response! |
Describe the issue
It seems a recent image was pushed to the
kubesphere/fluentd:1.15.3
tag (docker.io/kubesphere/fluentd@sha256:bc06e880c224e76e659bf59250e5302ad159ee6b5474a2c5ee45f3a0969644c5
) which breaks fluentd:Pinning to a previous SHA fixes the issue --
kubesphere/fluentd:v1.15.3@sha256:794311919658aee8eb9829836cd6c3437dffd9c7112556d5dc2f01ca3fcb826b
.To Reproduce
Repull the
kubesphere/fluentd:1.15.3
latest SHA.Expected behavior
Fluentd should start.
Your Environment
How did you install fluent operator?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: