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

Fix logforwarding feature #377

Merged
merged 6 commits into from
Jul 26, 2024
Merged

Fix logforwarding feature #377

merged 6 commits into from
Jul 26, 2024

Conversation

dergeberl
Copy link
Member

The logforwarding with promtail was broken.
Promtail crashed with the following error:

:~$ promtail -config.file=/etc/promtail/promtail.yaml
promtail: error while loading shared libraries: libresolv.so.2: cannot open shared object file: No such file or directory

Since alpine 3.18 there is also a package loki-promtail which includes all dependencies. This PR uses the loki-promtail package.

This PR was tested with alpine 3.20 as base-image based on alpine-openstack-image

Copy link
Member

@Kumm-Kai Kumm-Kai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two small nits :)

image/install-alpine.yaml Outdated Show resolved Hide resolved
image/install-alpine.yaml Show resolved Hide resolved
@dergeberl dergeberl force-pushed the fixPromtailLogging branch from 92eefad to 37052a4 Compare July 26, 2024 09:25
@dergeberl dergeberl enabled auto-merge (squash) July 26, 2024 09:26
@dergeberl dergeberl merged commit 6bd79a3 into main Jul 26, 2024
2 checks passed
@dergeberl dergeberl deleted the fixPromtailLogging branch July 26, 2024 09:30
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

Successfully merging this pull request may close these issues.

2 participants