-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fluentbit starting with version 2.2.1 resolve to wrong IP address #8951
Comments
I can see that there was change in c-ares in 2.2.1 so it's most likely related to this.. |
We are upgrading to v1.30.0: #8953 |
@salacr would you mind to check if the latest changes in GIT master fixes the issue? |
Sure, is there some docker image / artefact which I can try (I looked on dockerhub and didn't find any)? Or I must build it myself? EDIT: I see that it should be pretty easy to build a docker image so I will give it a shot |
Ok I have found that you are publishing master version on ghcr.
version 3.0.7 is able to start with same config I will try to find out what's the issue... |
It seams there is some other issue as even this simple yaml file:
produces an error:
|
But when I use legacy .conf format it's working! So I guess that we can close this issue as solved. |
thanks, let's use a new ticket for a separate issue. |
Bug Report
Describe the bug
I have deployed fluent-bit (2.2.1 / 2.2.2 / 3.0.6 I tried all this versions and must downgrade to 2.2.0) in docker swarm (Docker version 20.10.16, build aa7e414) on Debian GNU/Linux 10 (buster)
My output section looks like this:
But the fluentbit isn't able to send the data to loki because of error:
As we can see it tries to connect to PUBLIC ip instead of "inner IP" which is provided to loki service (which is running in same swarm stack) when I deploy the debug image and try the curl
As we can see curl is corectly resolved the loki hostname to proper IP address. I tried deploy into simple docker-compose project here it works corectly maybe it's bount to swarm deployment?
To Reproduce
Deploy fluent-bit in swarm deployment and trie to connect to loki in same stack
Expected behavior
fluent-bit should resolve correct IP address and send data to loki
Your Environment
The text was updated successfully, but these errors were encountered: