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

Implement the Azure OEM tools as systemd-sysext image #769

Closed
4 tasks done
pothos opened this issue Jun 8, 2022 · 2 comments
Closed
4 tasks done

Implement the Azure OEM tools as systemd-sysext image #769

pothos opened this issue Jun 8, 2022 · 2 comments
Assignees
Labels
area/sysext sysext roadmap kind/feature A feature request platform/Azure

Comments

@pothos
Copy link
Member

pothos commented Jun 8, 2022

Current situation

The Azure OEM partition holds a custom Python distribution for waagent and a base Ignition definition to create a systemd service.
The custom Python causes problems because of the non-standard location and missing parts of the library.

Impact

Some Azure extensions won't run with the custom Python distribution and we also don't have an update mechanism for the OEM partition and the files created on the rootfs by Ignition.

Ideal future situation

We now want to migrate to using a systemd-sysext image stored as file on the OEM partition and updated by update-engine.
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. We can build the regular python and use a standard location.
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 may be enabled through shipped symlinks.

Implementation options

Done: The installation of ebuild files into the sysext image could be done by installing to a directory and then using squashfs (Packages installed in the /usr partition must not be installed again).

Additional information

Done: For testing one needs the helper service from #768 that sets up the symlink for the active sysext image.

Tasks

To quickly get first results and ship the work, the new idea now is to postpone the update support.
The following tasks are worked on or need to be worked on for this MVP:

@pothos pothos added the kind/feature A feature request label Jun 8, 2022
@t-lo t-lo added the area/sysext sysext roadmap label May 15, 2023
@krnowak
Copy link
Member

krnowak commented May 31, 2023

Sorry for messing with project stuff, did it on wrong issue.

@krnowak
Copy link
Member

krnowak commented Jun 6, 2023

I suppose we can close this as done?

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

No branches or pull requests

4 participants