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

Port AWS and OpenStack OEM setup to systemd-sysext image #1145

Closed
pothos opened this issue Aug 2, 2023 · 1 comment
Closed

Port AWS and OpenStack OEM setup to systemd-sysext image #1145

pothos opened this issue Aug 2, 2023 · 1 comment
Assignees
Labels
area/sysext sysext roadmap

Comments

@pothos
Copy link
Member

pothos commented Aug 2, 2023

The EC2-compat OEM setup is currently used for AWS and OpenStack and brightbox.

As was already done for the Azure OEM setup in #769 we want to port the AWS setup over to systemd-sysext to benefit from updates.
A benefit of sysext images is that they can have a strict coupling to the Flatcar VERSION_ID which enables to use dynamical linking to save space and make the OEM tool packages simpler.
The base Ignition configuration is not needed anymore because the sysext's OEM files already become part of the /usr hierarchy and systemd services there can get started through an Upholds= drop-in. For the /etc/eks/bootstrap.sh, /etc/amazon/ssm/amazon-ssm-agent.json, /etc/amazon/ssm/seelog.xml files we probably need a helper systemd unit that sets up symlinks to the file in the sysext image.
The migration action has to be defined in the update_engine flatcar-postinst hook like it was done for Azure.

For OpenStack we don't ship any software and only use enable same [email protected] unit as for Digital Ocean and Equinix Metal. Therefore, we should cover this from the base image as suggested in #1142, also because users often use the QEMU image as base and set the OEM it in GRUB for OpenStack.

For brightbox we could continue to use the old setup and also check what the current support state for it is.

In the end, this means that we split the EC2-compat OEM package.

@tormath1
Copy link
Contributor

tormath1 commented Oct 9, 2023

Closed by flatcar/scripts#1197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sysext sysext roadmap
Projects
None yet
Development

No branches or pull requests

2 participants