-
Notifications
You must be signed in to change notification settings - Fork 159
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
05core: remove automatic reboot after timeout #1665
05core: remove automatic reboot after timeout #1665
Conversation
So for coreos/fedora-coreos-tracker#928, the idea is that we only remove the timeout. But we still want e.g. the Ignition virtio journal dump bits (this is used by cosa to make it easier to surface initrd failures) and printing of the failed units. |
bbfa105
to
9311142
Compare
@jlebon, sorry I misunderstood what the goal was. I went ahead and made the correction so the journal dump still happens. I was wondering about the naming convention of the folder in modules.d. Where does the '99' come from, and would it make sense to just drop the '-timeout'? |
This is still removing the printing of failed units. You'll need to go through the code and delete only the relevant parts, not just delete the whole file. It would make sense to drop the |
Closing this really quick, I am going through a workflow that updates pr, and I dont want to cause un-nessary reviews. |
Ah, yes @jlebon talked to me about that yesterday. I haven't yet gotten back to fix that.
Ah thank you! I was wondering about that. |
We usually just leave them open, and post a comment when the PR is ready for re-review. |
Ah okay, sorry, since I am going to be doing cosa - inits I was worried that I would be bugging everyone. |
e676369
to
592cc70
Compare
592cc70
to
53f307e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a rebase but it LGTM overall! For the commit message, how about something like 05core: stop automatic reboot after timeout
? And then in the commit message, you can include a short rationale and a link to the tracker issue.
Also the comment at the top of the emergency-shell.sh
needs to be updated.
LGTM generally. 👍 The module should be renamed from |
First, thank you for the feedback! , small question about your pr comment. |
53f307e
to
8a70923
Compare
8a70923
to
8359a1a
Compare
Thank you for the feedback! I took a swing at the folder name, let me know if it makes sense. |
8359a1a
to
445a676
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
For the commit message,
05core: enter emergency shell on error during FTB
(OOC, what does FTB stand for?)
I think it'd be better to focus the message more on what changed. In this case, it's the fact that we're no longer automatically rebooting after a timeout.
For the rationale and link, you would include it in the message body, not as part of the title (check out https://cbea.ms/git-commit/#separate).
445a676
to
ff71493
Compare
The reboot and consequently the timeout masked valuable debug information. The reboot also caused some cascading errors due to the fact that the system would try and run as if all required dependencies were satisfied during the first boot. Closes coreos/fedora-coreos-tracker#928.
ff71493
to
279292a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great commit message, thanks!
Reason for removal is that rhcos does not automatically reboot after timeout now ref: coreos/fedora-coreos-config#1665 Signed-off-by: Yussuf Shaikh <[email protected]>
Reason for removal is that rhcos does not automatically reboot after timeout now ref: coreos/fedora-coreos-config#1665 Signed-off-by: Yussuf Shaikh <[email protected]>
Reason for removal is that rhcos does not automatically reboot after timeout now ref: coreos/fedora-coreos-config#1665 Signed-off-by: Yussuf Shaikh <[email protected]>
Reason for removal is that rhcos does not automatically reboot after timeout now ref: coreos/fedora-coreos-config#1665 Signed-off-by: Yussuf Shaikh <[email protected]>
Removed the timeout for reboot on ftb if in error state.
coreos/fedora-coreos-tracker#928