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
Loki SSD fails if interface is not eth0 or en0 #4948
Comments
Hi, In container, it's not possible du get the device name for specifying it in cfg file... is it possible to use a wildcard or use all availables interfaces ? |
That's a very complicated problem because based on some internal discussion that we had, there are scenarios where users might be badly affected by using an unwanted interface and scenarios where users are badly affected by not using a wanted interface, so picking a default that works for everyone is not an easy task. That said, we are focusing instead on improving the configuration experience. For that, we are adding a way to configure the net interface to be used by Loki in a single place, inside the For context, the main problem with the current scenario is that when you configure |
Hi! This issue has been automatically marked as stale because it has not had any We use a stalebot among other tools to help manage the state of issues in this project. Stalebots are also emotionless and cruel and can close issues which are still very relevant. If this issue is important to you, please add a comment to keep it open. More importantly, please add a thumbs-up to the original issue entry. We regularly sort for closed issues which have a We may also:
We are doing our best to respond, organize, and prioritize all issues but it can be a challenging task, |
still present and still searching for a workaround in full containerized deployements |
I believe it is solved; you only have to use the common section directly instead of common/ring section: common:
- ring:
- interface_names:
- - ens5
+ interface_names:
+ - ens5 |
Yes, this work in a bare metal setup where it's easy to get the net devname. |
Hi! This issue has been automatically marked as stale because it has not had any We use a stalebot among other tools to help manage the state of issues in this project. Stalebots are also emotionless and cruel and can close issues which are still very relevant. If this issue is important to you, please add a comment to keep it open. More importantly, please add a thumbs-up to the original issue entry. We regularly sort for closed issues which have a We may also:
We are doing our best to respond, organize, and prioritize all issues but it can be a challenging task, |
I'll try in fews days if 2.5 release help when deploying in containers swarm and kube. |
Describe the bug
A minimal config for SSD fails if the network interface is not either eth0 or en0, causing services to bind to lo instead.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected services to bind to private IP address.
Environment:
Screenshots, Promtail config, or terminal output
On startup logs showed:
/config
showed:This was rectified by adding the following to configs:
The text was updated successfully, but these errors were encountered: