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

Lacking troubleshooting method for ignition #453

Closed
hadmut opened this issue Apr 6, 2020 · 3 comments
Closed

Lacking troubleshooting method for ignition #453

hadmut opened this issue Apr 6, 2020 · 3 comments

Comments

@hadmut
Copy link

hadmut commented Apr 6, 2020

can't report rpm-ostree status, because I can't login.

Hi,

I was giving latest Fedora CoreOS a try 31.20200310.3.0, using the iso to install on a kvm virtual test environment.

A first, very simple ignition file worked as expected, but didn't do much, it created the account I've expected.

Then I tried an ignition file with more options, and a complete fresh install (fresh virtual disk, coreos-installer from iso image), and obviously made some mistake in the ignition file.

However, the console output was scrolling up so fast, that I did not have a chance to see the output or any error messages. Since there was no login possible later, not even a login prompt, I do not see how I could troubleshoot the ignition process and find it's output (except attaching the virtual disk to a running machine and hoping that the debug output somehow found it's way to the disk.)

So it's really difficult to troubleshoot once the ignition process failed. fcct found the file to be good.

@cgwalters
Copy link
Member

See coreos/ignition-dracut#146 for the qemu case and coreos/ignition#585 for the general case.

@jlebon
Copy link
Member

jlebon commented Apr 7, 2020

When Ignition fails, it should cause emergency.target to trigger, which should give you a prompt. By default, that prompt is on ttyS0 (i.e. on the serial console), but if you're doing this over VGA, you can change that by adding console=tty0 at the end of the kernel cmdline or removing console=ttyS0 (yes, this is a bit awkward).

lucab pushed a commit to coreos/fedora-coreos-docs that referenced this issue May 21, 2020
* Create emergency-shell.adoc

Adds documentation to describe how to access the emergency shell with tty0.

Resolves (by documentating) coreos/fedora-coreos-tracker#453

Co-authored-by: Xander <[email protected]>
@bgilbert
Copy link
Contributor

Addressed by coreos/fedora-coreos-docs#74.

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

No branches or pull requests

4 participants