Introduction:


Purpose:
Further optimise SystemVM template generation, lifecycle, patching, seeding and upgrades.

With https://github.com/apache/cloudstack/pull/4329 in 4.16, significant systemvmtemplate lifecycle changes were introduced to simplify systemvmtemplate install/seed and upgrades, as well as making it cloud-init enabled for CKS use-case. In addition, the management server ssh public key is now also patched via cmdline string. Bundling of systemvmtemplates while makes the packages turnkey, users don't have to register/upgrade it manually now but it still has old/new pain-points:

Any major feature/change should be done in the main branch, however, optimisations and operational improvements can
be done in current LTS branch for future minor releases.


References:

Future work

Document History:

VersionAuthor/ReviewerDate
1.0Rohit Yadav20 Nov 2021




Feature Specifications

In the following sections, we define the scope and high-level spec and well as discuss/propose design & implementation.


SystemVM build and packaging changes:


SystemVM template upgrades:


Patching Changes:


NOTE:

Amongst several changes made to the systemVM template in terms of the upgrade workflow and patching process, a few things to bear in mind as developer / RMs would be: