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

[v24.1.x] rpk: more debug bundle improvements #19885

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #19843
Fixes: #19881, Fixes: #19882, Fixes: #19883, Fixes: #19884,

Most of the time we are reading a bundle we want
to debug the most recent events.

(cherry picked from commit 0577ebd)
We often trim the size of files if it exceeds the
limit, we do that for multiple files, so, now we
are:

- moving this log to WARN.
- including the filename to the log.

(cherry picked from commit 7644cec)
We will use the advertised rpc address, if
available, to name the bundle file if the user does
not provide a filename.

New format: <address>-<timestamp>-bundle.zip

(cherry picked from commit 887ee5c)
Our python decoding tool takes the data directory
as input and searches for redpanda/controller/0_0
and starts decoding the files.

Before this change we were saving the folder in a
different structure and the users who wanted to
decode the logs needed to modify the tool or the
directory structure. This is a QOL change that has
no direct impact on UX since the logs can't be read
unless we use our decoding tools.

(cherry picked from commit 1b88856)
@vbotbuildovich vbotbuildovich added this to the v24.1.x-next milestone Jun 19, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants