Skip to content

Comments

OEM: Provide STACKIT images#3018

Merged
tormath1 merged 1 commit intoflatcar:mainfrom
stackitcloud:stackit-oem-image
Jun 30, 2025
Merged

OEM: Provide STACKIT images#3018
tormath1 merged 1 commit intoflatcar:mainfrom
stackitcloud:stackit-oem-image

Conversation

@robinschneider
Copy link
Contributor

@robinschneider robinschneider commented Jun 11, 2025

Provide oem-stackit images

Add support for STACKIT as a new provider.
The Image has chrony installed and configured, ptp_kvm kernel module loaded.

How to use

This image is configured for STACKIT but it will work on other OpenStack installations as well.
You can use the openstack-packer-plugin to create an OpenStack image from it https://github.com/hashicorp/packer-plugin-openstack.

Testing done

We have tested this image on STACKIT both as a Kubernetes node as well as a standalone VM for arm64 and amd64.

  • 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.

CI: http://localhost:8080/job/container/job/packages_all_arches/6241/cldsv/ to produce images

Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

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

Thanks, I triggered a CI build to generate images / oems.

@robinschneider robinschneider marked this pull request as ready for review June 30, 2025 07:04
@tormath1 tormath1 moved this from ⚒️ In Progress to ✅ Testing / in Review in Flatcar tactical, release planning, and roadmap Jun 30, 2025
Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

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

Thanks, I feel we're almost good here. I left a single nit-pick comment. Three additional things:

  • the produced images are currently bzipped, similar to OpenStack (or other vendors), the benefit is really small:
$ du --si flatcar_production_stackit_image.img.bz2
566M	flatcar_production_stackit_image.img.bz2
$ du --si flatcar_production_stackit_image.img
567M	flatcar_production_stackit_image.img

If you don't have strong requirements to bzip format, you can set the image compression to none here:

elif [[ "${format}" =~ ^(scaleway|kubevirt|proxmoxve)$ ]];then

@robinschneider
Copy link
Contributor Author

robinschneider commented Jun 30, 2025

Thanks, I feel we're almost good here. I left a single nit-pick comment. Three additional things:

* the produced images are currently `bzipped`, similar to OpenStack (or other vendors), the benefit is really small:
$ du --si flatcar_production_stackit_image.img.bz2
566M	flatcar_production_stackit_image.img.bz2
$ du --si flatcar_production_stackit_image.img
567M	flatcar_production_stackit_image.img

If you don't have strong requirements to bzip format, you can set the image compression to none here:

elif [[ "${format}" =~ ^(scaleway|kubevirt|proxmoxve)$ ]];then

* A CI build has been restarted, I will ask you to test the produce images: https://bincache.flatcar-linux.net/images/amd64/9999.0.5+tormath1-stackit-oem-image/ when available (currently a 404)

* If you are happy with the current state, we can maybe arrange a bit the commit history (e.g this [792bfa4](https://github.com/flatcar/scripts/commit/792bfa43014bb6edb4724d5d569232f7709fd38d) is not relevant to keep in the history)

We don't use the bzip format, will adjust it.
Should I squash all commits?
Will adjust it according to your feedback!

Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this. I will merge the commit and backport it to current Alpha, Beta and Stable. This should be available at next Flatcar releases. In the meantime, nightly builds will be available if you want to run tests again.

@tormath1 tormath1 merged commit e699691 into flatcar:main Jun 30, 2025
2 of 3 checks passed
@github-project-automation github-project-automation bot moved this from ✅ Testing / in Review to Implemented in Flatcar tactical, release planning, and roadmap Jun 30, 2025
@tormath1
Copy link
Contributor

cherry-picked to:

  • flatcar-4372
  • flatcar-4344
  • flatcar-4230

@github-actions
Copy link

Build action triggered: https://github.com/flatcar/scripts/actions/runs/15977552362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants