-
Notifications
You must be signed in to change notification settings - Fork 128
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
Add page for enabling kdump through ignition #388
Conversation
Thanks for writing this up @mike-nguyen. It seems to me like this page has a lot of overlap with the other page. Maybe we should put the meat of the steps in this new page you've created (i.e. in the last section we show the |
|
||
[NOTE] | ||
==== | ||
The reboot in the systemd unit is required for kdump to use the correct kernel arguments when it kexecs into the crash kernel. |
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.
The reboot in the systemd unit is required for kdump to use the correct kernel arguments when it kexecs into the crash kernel. | |
The reboot in the systemd unit is required for kdump to use the correct kernel arguments. When kexec runs it re-uses the kernel arguments from the current boot and this has the undesired side effect of re-running Ignition if the machine had never rebooted. |
I'm thinking we either give a little more context here, or we link to an issue where this is explained a little further.
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.
I think this note should be at the top before the Ignition config.
WantedBy=multi-user.target | ||
---- | ||
|
||
[NOTE] |
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.
might be nice to mention somewhere in here the info from the other page about /etc/kdump.conf
I guess another option is we don't create a new page and just add the "how to configure this via Ignition" to the existing page. |
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.
Agree we should probably merge this with https://docs.fedoraproject.org/en-US/fedora-coreos/debugging-kernel-crashes/
@@ -0,0 +1,51 @@ | |||
:experimental: |
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.
Not needed anymore
|
||
[NOTE] | ||
==== | ||
The reboot in the systemd unit is required for kdump to use the correct kernel arguments when it kexecs into the crash kernel. |
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.
I think this note should be at the top before the Ignition config.
This is incurring two reboots during first boot. Don't we want something more like this: variant: fcos
version: 1.4.0
kernel_arguments:
should_exist:
- 'crashkernel=300M'
systemd:
units:
- name: kdump.service
enabled: true coupled with a |
I know @mike-nguyen had looked into trying to get something like this to work but I don't know if he ever quite got it. @mike-nguyen do you remember what the complications were? |
It's #388 (comment). We can not do it first boot and need an additional reboot. The note needs to be front and center to prevent folks from falling into this trap. |
What's wrong with the approach in #388 (comment) though? Ignition will reboot to add the |
Whoops sorry, indeed, I had missed that. |
I know I tried adding |
Thank you @mike-nguyen! |
Seems to work from what I can tell: coreos/fedora-coreos-config#1708 |
Sorry this fell off my radar. I tested your PR manually and it worked! |
6876636
to
4619ec7
Compare
Consolidated everything into the original debugging kdump page and added steps to enable via ignition. This doc is dependent on coreos/fedora-coreos-config#1708 (thanks @dustymabe!) which will remove |
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.
Looks good, thanks!
Disable automatic configuration on ethernet devices (DHCP/SLAAT) with no other matching connections Update modules/ROOT/pages/sysconfig-network-configuration.adoc Co-authored-by: Dusty Mabe <[email protected]> Update modules/ROOT/pages/sysconfig-network-configuration.adoc Co-authored-by: Dusty Mabe <[email protected]> Update modules/ROOT/pages/sysconfig-network-configuration.adoc Co-authored-by: Dusty Mabe <[email protected]> Update modules/ROOT/pages/sysconfig-network-configuration.adoc Co-authored-by: Dusty Mabe <[email protected]> provisioning/exoscale: Add note/warning about CLI compression Recommend users to use v1.54.0 and above and to never use the `--cloud-init-compress` argument. Closes coreos/fedora-coreos-tracker#1160 Add page for enabling kdump through ignition (coreos#388) sysconfig-network-configuration: Improve readability and look Improve readability and look of sysconfig-network Final commit
As a part of coreos/fedora-coreos-tracker#1147, add a page for enabling kdump through ignition.