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

devshell: fix journal monitoring #3799

Merged
merged 2 commits into from
May 10, 2024
Merged

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented May 10, 2024

Commit 7b07ffe dropped the -o json argument to the journalctl query that the devshell code uses to monitor system boot and know when to SSH. Fix this by re-adding the argument but only for devshell so that the default is still to output traditional logs (as in the testiso case).

Fixes 7b07ffe ("mantle/platform/qemu: drop json formatting from journal output").

Commit 7b07ffe dropped the `-o json` argument to the journalctl query
that the devshell code uses to monitor system boot and know when to SSH.
Fix this by re-adding the argument but only for devshell so that the
default is still to output traditional logs (as in the testiso case).

Fixes 7b07ffe ("mantle/platform/qemu: drop json formatting from
journal output").
@jlebon
Copy link
Member Author

jlebon commented May 10, 2024

If this gets merged, we should probably backport it to 4.16 too.

/cherrypick rhcos-4.16

@openshift-cherrypick-robot

@jlebon: once the present PR merges, I will cherry-pick it on top of rhcos-4.16 in a new PR and assign it to you.

In response to this:

If this gets merged, we should probably backport it to 4.16 too.

/cherrypick rhcos-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

This reverts commit 0b659af.

That was meant to be a temporary measure but lingered for a while. As
mentioned there, ideally, we'd build both, but if we only build one, let
it be RHCOS.
@jlebon
Copy link
Member Author

jlebon commented May 10, 2024

OK, added a commit to fix Prow CI here as well.

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@jlebon
Copy link
Member Author

jlebon commented May 10, 2024

Prow failed on replace-rt-kernel. I'm working on fixing that. Let's unblock this for now.
/override ci/prow/rhcos

Copy link

openshift-ci bot commented May 10, 2024

@jlebon: Overrode contexts on behalf of jlebon: ci/prow/rhcos

In response to this:

Prow failed on replace-rt-kernel. I'm working on fixing that. Let's unblock this for now.
/override ci/prow/rhcos

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@jlebon jlebon merged commit 06ae3e1 into coreos:main May 10, 2024
5 checks passed
@jlebon jlebon deleted the pr/fix-journal-watch branch May 10, 2024 17:19
@openshift-cherrypick-robot

@jlebon: new pull request created: #3802

In response to this:

If this gets merged, we should probably backport it to 4.16 too.

/cherrypick rhcos-4.16

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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.

None yet

3 participants