Skip to content

payload/rpm-ostree: Include program output in exception #6431

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

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

KKoukiou
Copy link
Contributor

The rpm-ostree container deployment path can fail for many reasons from networking to details in mount setup.

What we really want is a proper API with progress out of bootc/ostree; I will work on that at some point.

In the meantime though, just capture stderr on failure and include it in the payload installation error so people don't have to dig into program.log which is very obscure.

Signed-off-by: Colin Walters [email protected]

Cherry-picked from: 7d40d85

Resolves: RHEL-83926

The rpm-ostree container deployment path can fail for many reasons
from networking to details in mount setup.

What we really want is a proper API with progress out of bootc/ostree;
I will work on that at some point.

In the meantime though, just capture stderr on failure and include
it in the payload installation error so people don't have to
dig into `program.log` which is very obscure.

Signed-off-by: Colin Walters <[email protected]>

Cherry-picked from: 7d40d85

Resolves: RHEL-83926
@KKoukiou
Copy link
Contributor Author

/kickstart-tests --testtype smoke

@KKoukiou KKoukiou requested a review from jkonecny12 May 30, 2025 09:50
Copy link
Member

@jkonecny12 jkonecny12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@KKoukiou KKoukiou added the ready to merge The PR can be merged. It should have all BZ flags required for releasing set (usually release+). label Jun 17, 2025
@jkonecny12 jkonecny12 merged commit 487370e into rhinstaller:rhel-10 Jun 30, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge The PR can be merged. It should have all BZ flags required for releasing set (usually release+). rhel-10
Development

Successfully merging this pull request may close these issues.

3 participants