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: Print status as we're booting #1369

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

cgwalters
Copy link
Member

It's better than seconds of silence, and if e.g. we get stuck
in the initramfs then it's more obvious.

Closes: #1367

It's better than seconds of silence, and if e.g. we get stuck
in the initramfs then it's more obvious.

Closes: coreos#1367
Copy link
Contributor

@darkmuggle darkmuggle left a comment

Choose a reason for hiding this comment

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

lgtm

case err := <-errchan:
if err == platform.ErrInitramfsEmergency {
return fmt.Errorf("instance failed in initramfs; try rerunning with --devshell-console")
loop:
Copy link
Contributor

Choose a reason for hiding this comment

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

not a fan of labels, but meh

@jlebon
Copy link
Member

jlebon commented Apr 20, 2020

WDYT about the suggestion in #1367 (comment)?

@cgwalters
Copy link
Member Author

Let's at least land this since I hope everyone agrees it's an improvement, and if anyone wants something else, we can iterate from there?

@Prashanth684
Copy link
Contributor

Let's at least land this since I hope everyone agrees it's an improvement, and if anyone wants something else, we can iterate from there?

Absolutely..it's scary to just see nothing on the screen and wait suspense-fully to see whether it succeeds or not ;) That being said do we write the console output somewhere if it errors out (or otherwise) ?

@ashcrow
Copy link
Member

ashcrow commented Apr 21, 2020

[Could not resolve host: kojipkgs.fedoraproject.org]

Infra flake

@ashcrow
Copy link
Member

ashcrow commented Apr 21, 2020

/lgtm

@cgwalters
Copy link
Member Author

cgwalters commented Apr 21, 2020 via email

@jlebon
Copy link
Member

jlebon commented Apr 21, 2020

I think CI needed #1378, where we added --strict to cosa fetch in .cci.jenkinsfile too. I restarted CI here since that's merged now.

@jlebon
Copy link
Member

jlebon commented Apr 21, 2020

/lgtm

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

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

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [ashcrow,cgwalters,darkmuggle,jlebon]

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

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.

cosa run silently hangs with initramfs failure and no virtio dump patched ignition-dracut
7 participants