From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=Provision Fedora CoreOS and test kdump |setup= # Download and verify the latest [https://getfedora.org/coreos/download?tab=metal_virtualized&stream=next FCOS <b>next</b> image] (pick the right image for your environment). |actions= # Launch your Fedora CoreOS system. See [https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/#_quickstart the Quickstart] and the provisioning docs for a guide how to launch FCOS in most environments...") |
No edit summary |
||
Line 11: | Line 11: | ||
`# echo 1 > /proc/sys/kernel/sysrq` | `# echo 1 > /proc/sys/kernel/sysrq` | ||
`# echo c > /proc/sysrq-trigger` | `# echo c > /proc/sysrq-trigger` | ||
Line 19: | Line 20: | ||
# You can SSH successfully into your FCOS system. | # You can SSH successfully into your FCOS system. | ||
# Verify triggering a kernel dump will produce crash files in /var/crash | # Verify triggering a kernel dump will produce crash files in /var/crash | ||
# The linked documentation is clear, all steps are understandable, and nothing important is missing from it. | |||
}} | |||
[[Category:CoreOS Test Cases]] | [[Category:CoreOS Test Cases]] |
Latest revision as of 17:33, 28 September 2022
Description
Provision Fedora CoreOS and test kdump
Setup
- Download and verify the latest FCOS next image (pick the right image for your environment).
How to test
- Launch your Fedora CoreOS system. See the Quickstart and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).
- Create an Ignition file that enables kdump
- Launch your Fedora CoreOS system using this Ignition file.
- Trigger a kernel dump using the following commands
# echo 1 > /proc/sys/kernel/sysrq
# echo c > /proc/sysrq-trigger
- The system will capture the kernel dump and reboot.
- Verify the kernel dump is captures in /var/crash
Expected Results
- You can SSH successfully into your FCOS system.
- Verify triggering a kernel dump will produce crash files in /var/crash
- The linked documentation is clear, all steps are understandable, and nothing important is missing from it.