From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=Install Fedora CoreOS and tune a kernel parameter under `/proc/sys` as described in the [https://docs.fedoraproject.org/en-US/fedora-coreos/sysctl/...")
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Install Fedora CoreOS and tune a kernel parameter under `/proc/sys` as described in the [https://docs.fedoraproject.org/en-US/fedora-coreos/sysctl/ documentation].
|description=Install Fedora CoreOS and tune a kernel parameter by `sysctl` as described in [https://docs.fedoraproject.org/en-US/fedora-coreos/sysctl/ documentation].
|setup=
|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).
# 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=
|actions=
# [https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/ Create an Ignition file]. When writing the configuration, change a value under `/proc/sys` [https://docs.fedoraproject.org/en-US/fedora-coreos/sysctl/ by adding to `/etc/sysctl.d/`]. The example alters the SysRq bits, but feel free to tune another parameter.
# [https://docs.fedoraproject.org/en-US/fedora-coreos/producing-ign/ Create an Ignition file]. When writing the configuration, tune a kernel parameter by [https://docs.fedoraproject.org/en-US/fedora-coreos/sysctl/ adding to it `/etc/sysctl.d/90-sysrq.conf`]. The documentation alters the bits for SysRq key but feel free to change another parameter.
# Launch your Fedora CoreOS system using this Ignition file. See [https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started/#_quickstart the Quickstart] and the provisioning docs for a guide on how to launch FCOS in most environments (bare metal, virtual, cloud, etc).
# Launch your Fedora CoreOS system using this Ignition file. 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 (bare metal, virtual, cloud, etc).


|results=
|results=
# You can SSH successfully into your FCOS system.
# You can SSH successfully into your FCOS system.
# The parameter tuned via the ignition file can be seen under `/proc/sys`.
# The parameter(s) specified in the ignition file can be seen in `/proc/sys` and the system behaviour is changed accordingly.
# The tuned parameter(s) persist through reboots.
# The changes in `/proc/sys` persist through reboots.
# The linked documentation makes sense, nothing is obviously missing, and the instructions are clear.
# The linked documentation makes sense, nothing is obviously missing, and the instructions are clear.
}}
}}


[[Category:CoreOS Test Cases]]
[[Category:CoreOS Test Cases]]

Latest revision as of 18:55, 25 September 2023

Description

Install Fedora CoreOS and tune a kernel parameter by sysctl as described in documentation.

Setup

  1. Download and verify the latest FCOS next image (pick the right image for your environment).

How to test

  1. Create an Ignition file. When writing the configuration, tune a kernel parameter by adding to it /etc/sysctl.d/90-sysrq.conf. The documentation alters the bits for SysRq key but feel free to change another parameter.
  2. Launch your Fedora CoreOS system using this Ignition file. See the Quickstart and the provisioning docs for a guide how to launch FCOS in most environments (bare metal, virtual, cloud, etc).

Expected Results

  1. You can SSH successfully into your FCOS system.
  2. The parameter(s) specified in the ignition file can be seen in /proc/sys and the system behaviour is changed accordingly.
  3. The changes in /proc/sys persist through reboots.
  4. The linked documentation makes sense, nothing is obviously missing, and the instructions are clear.