Skip to content

verify-clone: show cloud-init recoverable errors, fix postfix hint - #63

Merged
modem7 merged 1 commit into
masterfrom
verify-show-recoverable-errors
Oct 24, 2026
Merged

modem7 merged 1 commit into
masterfrom
verify-show-recoverable-errors

Conversation

@modem7

@modem7 modem7 commented Oct 24, 2026

Copy link
Copy Markdown
Owner

When cloud-init exits 2, the "carrying on" warning now lists the recoverable_errors from cloud-init status --format json, indented under it. The lookup is best effort: any failure prints nothing and never changes an exit code.

Also changes the mail-timeout hint from journalctl -u postfix@- to journalctl -u postfix.

Tested against a mock qm only (errors present, empty, non-JSON, cloud-init missing, qm failure). Not yet run on a real host.

The "carrying on" warning now lists the recoverable_errors from
cloud-init status, so the cause is visible. The mail-timeout hint
points at journalctl -u postfix.
@modem7
modem7 merged commit d628520 into master Oct 24, 2026
4 checks passed
@modem7
modem7 deleted the verify-show-recoverable-errors branch October 24, 2026 00:21
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