-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
The official Linux release binary of promtail 2.8.0 is built without systemd journal support (on at least amd64) #9060
Comments
just hit the same issue. This problem seem to be recurring and previously impacted arm64 builds, but now amd64 as well. Had to roll back to 2.7.5 |
Thank you for reporting this. We will get it sorted out and update our build automation to prevent reoccurrences in the future. |
could it be related to this: #7587? |
This is interesting. I've added journald support for ARM and ARM64 in 4504ed2. However, when you look at the diff you'll see that our release target |
This fix is up for review. I was a little confused when this regression was introduced though. Trevor's linked change is half a year old. However, it turns out that we cut 2.7 around the same time as #7587 landed on |
**What this PR does / why we need it**: Previously, in #8131, we enabled journald support for Promtail arm/arm64 binary builds but not amd64. **Which issue(s) this PR fixes**: - #9060 **Special notes for your reviewer**: N/A **Checklist** - [x] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [ ] Documentation added - [ ] Tests updated - [ ] `CHANGELOG.md` updated - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/upgrading/_index.md` --------- Signed-off-by: JordanRushing <rushing.jordan@gmail.com> Co-authored-by: Trevor Whitney <trevorjwhitney@gmail.com>
**What this PR does / why we need it**: Previously, in #8131, we enabled journald support for Promtail arm/arm64 binary builds but not amd64. **Which issue(s) this PR fixes**: - #9060 **Special notes for your reviewer**: N/A **Checklist** - [x] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [ ] Documentation added - [ ] Tests updated - [ ] `CHANGELOG.md` updated - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/upgrading/_index.md` --------- Signed-off-by: JordanRushing <rushing.jordan@gmail.com> Co-authored-by: Trevor Whitney <trevorjwhitney@gmail.com> (cherry picked from commit 7edda37)
Fixed by #9095, working on a 2.8.1 now |
@trevorwhitney are you pushing out that 2.8.1 with just journald support (re)added or are you waiting for more bugfixes? |
It will go out this week. There were a couple other fixes we wanted in there. |
fixed in the latest release! https://github.com/grafana/loki/releases/tag/v2.8.1 |
Describe the bug
The official promtail binaries for Linux amd64 are built without support for reading from the systemd journal. Starting them with the journal configured as a log source gets you:
I suspect that promtail binaries were not built with the new build tag to include the journal that's covered in the 2.8 upgrade notes.
The text was updated successfully, but these errors were encountered: