Skip to content

hack: read host journal in gather-logs.sh (backport #286) - #289

Merged
alicefr merged 2 commits into
release-0.2from
mergify/bp/release-0.2/pr-286
Nov 3, 2026
Merged

alicefr merged 2 commits into
release-0.2from
mergify/bp/release-0.2/pr-286

Conversation

@mergify

@mergify mergify Bot commented Nov 3, 2026

Copy link
Copy Markdown

The daemon image does not ship journalctl, so the per-node journal artifact only contained "executable file journalctl not found". Enter the host mount namespace via nsenter, as getBootCount already does, so the full host journal across all boots is collected. Also save journalctl --list-boots to map boot ids to timestamps.


This is an automatic backport of pull request #286 done by Mergify.

The daemon image does not ship journalctl, so the per-node journal
artifact only contained "executable file `journalctl` not found".
Enter the host mount namespace via nsenter, as getBootCount already
does, so the full host journal across all boots is collected. Also
save `journalctl --list-boots` to map boot ids to timestamps.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
(cherry picked from commit fb632db)
@alicefr
alicefr merged commit 2d5a81c into release-0.2 Nov 3, 2026
12 checks passed
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.

1 participant