Skip to content

kola/misc: modernize root-on-raid to use Butane - #929

Open
amanmaurya92 wants to merge 1 commit into
flatcar:mainfrom
amanmaurya92:fix/raid-ignition
Open

kola/misc: modernize root-on-raid to use Butane#929
amanmaurya92 wants to merge 1 commit into
flatcar:mainfrom
amanmaurya92:fix/raid-ignition

Conversation

@amanmaurya92

Copy link
Copy Markdown
Contributor

This resolves an ancient TODO by migrating the cl.disk.raid*.root ignition configuration from legacy JSON to a modern Butane payload.

Modern Ignition supports wipe_partition_entry: true, which allows us to selectively zero out partition 9 directly on the primary boot disk and replace it with partitions 9 and 10 for the RAID array. Because of this upgrade, we have completely removed the artificial requirement for a secondary virtual disk and unlocked the RAID root test to run natively on all cloud platforms, rather than just qemu.

How to use

Reviewers can validate this PR by running the modified Kola test and confirming that the nodes successfully boot with root on RAID natively across different platforms:

kola run --platform aws cl.disk.raid1.root
kola run --platform qemu cl.disk.raid0.root

Testing done

Executed $env:GOOS="linux"; cd kola/tests/misc; go build to syntactically verify the package logic and ensure no compilation regressions occurred. We also wrote a scratch script to run conf.Butane() locally, proving that the YAML parser natively parses and correctly translates the wipe_partition_entry: true payload into valid Ignition v3 JSON!

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

@amanmaurya92
amanmaurya92 requested a review from a team as a code owner August 20, 2026 16:43
This resolves an ancient TODO by switching the ignition configuration to use Butane (Ignition v3). Modern Ignition supports 'wipe_partition_entry: true', which allows us to manipulate partition 9 directly on the primary boot disk. This completely removes the previous requirement for a secondary virtual disk and unlocks the RAID root test to run natively on all cloud platforms, rather than just qemu.

Signed-off-by: amanmaurya92 <amanmaurya9209@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant