Skip to content

hack/collectlogs: make ORC pod log collection more robust#841

Merged
mandre merged 1 commit into
k-orc:mainfrom
shiftstack:debug-pod-log-collect
Jul 8, 2026
Merged

hack/collectlogs: make ORC pod log collection more robust#841
mandre merged 1 commit into
k-orc:mainfrom
shiftstack:debug-pod-log-collect

Conversation

@mandre

@mandre mandre commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Resolve the pod name explicitly instead of relying on a label selector,
capture stderr from kubectl logs into the log file, and detect empty log
files with a --previous fallback.

Closes #839

Resolve the pod name explicitly instead of relying on a label selector,
capture stderr from kubectl logs into the log file, and detect empty log
files with a --previous fallback.

Closes k-orc#839
@github-actions github-actions Bot added the semver:patch No API change label Jul 7, 2026
@mandre

mandre commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

OK good, all 3 artifacts contain ORC pod logs. I'll now drop the last commit that was used for testing.

@mandre mandre force-pushed the debug-pod-log-collect branch from eb603c5 to 5502581 Compare July 7, 2026 12:30
@mandre mandre added this pull request to the merge queue Jul 7, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 7, 2026
@mandre mandre added this pull request to the merge queue Jul 8, 2026
@mandre

mandre commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

One of the jobs failed due to a race, which I'm hopefully fixing with #843.

Merged via the queue into k-orc:main with commit f692704 Jul 8, 2026
10 checks passed
@mandre mandre deleted the debug-pod-log-collect branch July 8, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

collectlogs script may capture empty ORC controller pod log

2 participants