Skip to content

Conversation

@cgwalters
Copy link
Member

This came up in coreos/ignition-dracut#146
and since then we've been doing more "ad hoc unit writing to virtio"
in mantle, but let's add a general API that streams the journal.

This is just better for what devshell wants - we can more precisely
watch for sshd starting. And more code in e.g. testiso.go could
use it too which can come later.

The immediate motivation here is I may add another kola test
which could use this.

Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

And more code in e.g. testiso.go could use it too which can come later.

Oh yes, that'd be great. I'd really like kola testiso to output logs into --output-dir.

@cgwalters cgwalters force-pushed the qemu-journal-api branch from c102739 to a894ea4 Compare May 1, 2020 00:03
@jlebon
Copy link
Member

jlebon commented May 1, 2020

Needs a gofmt, LGTM otherwise!

@cgwalters cgwalters force-pushed the qemu-journal-api branch from a894ea4 to 2bbaef6 Compare May 1, 2020 13:18
@jlebon
Copy link
Member

jlebon commented May 1, 2020

/lgtm

This came up in coreos/ignition-dracut#146
and since then we've been doing more "ad hoc unit writing to virtio"
in mantle, but let's add a general API that streams the journal.

This is just better for what devshell wants - we can more precisely
watch for sshd starting.  And more code in e.g. `testiso.go` could
use it too which can come later.

The immediate motivation here is I may add another kola test
which could use this.
@cgwalters
Copy link
Member Author

Ah I see, an import conflict. Rebased 🏄

@jlebon
Copy link
Member

jlebon commented May 1, 2020

/lgtm

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, jlebon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 95c3c8e into coreos:master May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants