matchbox
matchbox copied to clipboard
Update ignition version
I should start by saying, this change fixed the issue I was running into so i'm not sure of the full ramifications of this change. I kept hitting this error when attempting to follow the flatcar route of https://matchbox.psdn.io/getting-started/
It would appear the ignition file generated by terraform is a higher format than allowed by the version of ignition parser used. Updating the ignition package to the latest version and using the v3_3
parser worked for me.
Flatcar Linux only recently added support for Ignition v3.3 in newer images. This will be part of the larger migration from Container Linux Configs (rendered as Ignition 2.2) to Butane/Ignition v3.3 happening across projects gradually (its breaking and needs other supporting work)
Rel:
- https://github.com/poseidon/terraform-provider-ct/pull/132
- https://github.com/poseidon/typhoon/pull/1196
Also, the warning in the logs should be ignorable.
In my case this warning meant that the ignition file was ignored completely, at least in my testing. The OS was installed but none of my ignition file changes were applied.
Edit: these seems to be because ignition.Parse when it encounters this error specifically returns an empty content
You may be interested in the examples. Both Fedora CoreOS and Flatcar Linux use Ignition v3.3 in them and they've been validated recently: https://github.com/poseidon/matchbox/pull/980
Hey sorry, i guess there's some misunderstanding. What i'm saying is I did follow those tutorials/examples and ran into these issues. Only after I did a manual build/deploy of matchbox with this change did that flatcar example work.
I was never able to repro the issue you were seeing, but Ignition v2 (spec v3.x) is now the only supported version as part of the planned Container Linux Config deprecation. https://github.com/poseidon/matchbox/pull/997 should have the update you were wanting.