one
one copied to clipboard
New fireedge sunstone LXC support
Description There are several LXC specific attributes that need to be handled by the new Sunstone.
- LXC_PROFILES
- LXC_SWAP
- LXC_UNPRIVILEGED
Use case Better user experience.
Interface Changes These attributes should appear in the Template wizard when hypervisor = lxc is selected/stated.
LXC_UNPRIVILEGED
The most important one. Should be a boolean value selection. A picture of the old Sunstone implementation attached for reference
LXC_PROFILES
Similar to the LXD profile implementation. However, the difference is now that the profiles are created on the frontend and synced to the hosts. The scan should be done in the FE and then the different options should be selectable in the Template wizard. An explanation of how it works can be found here.
LXC_SWAP
Should be the same as the current memory input text.
The LXC driver will create a swap limitation equal to the amount of memory defined in the VM Template. The attribute LXC_SWAP can be used to declare extra swap for the container.
Additional Context
On LXD the profiles were monitored from the hosts by the IM driver and the result was stored in the host template. With LXC is not the case, there are no monitoring drivers involved. The files simply exist (or do not) in the frontend on remotes
and it is synced on the hosts to /var/tmp/one
.
Progress Status
- [ ] Code committed
- [ ] Testing - QA
- [ ] Documentation (Release notes - resolved issues, compatibility, known issues)