Skip to content
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

kola/misc/raid: change CLC to raw ignition config #234

Merged
merged 2 commits into from
Sep 24, 2021

Conversation

tormath1
Copy link
Contributor

size has been deprecated to sizeMiB from ignition-2.3 and this
parameter is not translatable. See the discussion in here: coreos/ign-converter#29

Since CLC is converted to ignition-2.2 we can't rely on this to pass
the config so we directly use raw ignition 2.3.0 to provision the
instance.

This test only runs on qemu so there is no side effect to pass from
clc to ignition.

Signed-off-by: Mathieu Tortuyaux mtortuyaux@microsoft.com

Testing done

Tested against:

`size` has been deprecated to `sizeMiB` from `ignition-2.3` and this
parameter is not translatable. See the discussion in here: coreos/ign-converter#29

Since CLC is converted to `ignition-2.2` we can't rely on this to pass
the config so we directly use raw ignition 2.3.0 to provision the
instance.

This test only runs on `qemu` so there is no side effect to pass from
`clc` to `ignition`.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1 tormath1 self-assigned this Sep 17, 2021
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1 tormath1 marked this pull request as ready for review September 17, 2021 12:27
@tormath1 tormath1 requested a review from a team September 17, 2021 12:27
{
"label": "root1",
"number": 1,
"sizeMiB": 256,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that we were lucky using 256MiB for size before, so you didn't need to convert that from sectors to bytes.

@tormath1 tormath1 merged commit 2ad720e into flatcar-master Sep 24, 2021
@tormath1 tormath1 deleted the tormath1/upgrade-ignition branch September 24, 2021 09:18
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.

2 participants