Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Add ignition-virtio-dump-journal.service #170

Merged
merged 1 commit into from
Apr 16, 2020

Conversation

cgwalters
Copy link
Member

Debugging failures in the initrd is annoying; this code
looks for a virtio-serial port named com.coreos.ignition.journal,
and runs as part of emergency.target.

I plan to change mantle to set up this port by default, so if
something fails in the initramfs we'll at least reliably get
the journal in a sane parsable format.

This is a special targeted subset of
coreos/ignition#585

(cherry picked from commit 84c89f4)

Debugging failures in the initrd is annoying; this code
looks for a virtio-serial port named `com.coreos.ignition.journal`,
and runs as part of `emergency.target`.

I plan to change mantle to set up this port by default, so if
something fails in the initramfs we'll at least reliably get
the journal in a sane parsable format.

This is a special targeted subset of
coreos/ignition#585

(cherry picked from commit 84c89f4)
@cgwalters cgwalters added the spec2x Applies to the ignition spec2x branch label Apr 16, 2020
@cgwalters
Copy link
Member Author

This cherry picked cleanly and I verified it works via:
cosa run --kargs 'ignition.config.url=blah://' --propagate-initramfs-failure with RHCOS.

@cgwalters
Copy link
Member Author

I want to get this in as part of other work, and I doubt anyone's going to object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
spec2x Applies to the ignition spec2x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant