Weekly status for the week of 10th April to 16th April.
Introduction
The highlight of the past week was the release of LXD 5.13! This release includes several new features from our roadmap including adding new virtual machine and OVN network functionality, new authentication options and improved storage pool management.
Please see the release notes and release video for more details:
https://www.youtube.com/watch?v=NCEYu7DbRbg
Additionally @stgraber has continued his video series on instance devices by covering the proxy
device:
https://www.youtube.com/watch?v=IbAKwRBW8V0
Job openings
Canonical Ltd. strengthens its investment into LXD and is looking at building multiple squads under the technical leadership of @stgraber.
As such, we are looking for first line managers (highly technical) and individual contributors to grow the team and pursue our efforts around scalability and clustering.
All positions are 100% remote with some travel for internal events and conferences.
For more info please see LXD related openings at Canonical Ltd (2022-2023)
LXD
All of the functional changes from last week were included in LXD 5.13.
New features:
- Added nested VLAN
ovn
NICs. This provides the ability to get up to 4096 additionalovn
NICs into an instance without having to use additional PCI addresses/veth pairs for additional virtual NICs. See LXD 5.13 has been released - Added support for OpenID Connect authentication. As part of a push to provide a more industry standard solution to authentication and authorization in LXD, we’ve begun the work by adding support for OpenID Connect for authentication. See LXD 5.13 has been released
- Added support for VDPA acceleration when using SR-IOV with
ovn
NICs. See LXD 5.13 has been released - Added Layer 3 only support to
ovn
networks. See LXD 5.13 has been released
Improvements:
- Added an example in the help text of
lxc network create
. - Clarify the cluster member name options in
lxc cluster add
. - New VM volumes on ZFS storage pools now set the ZFS
primarycache
andsecondarycache
options tometadata
. This is to avoid double caching the VM filesystem activity both inside the guest’s filesystem cache and in the host’s ARC cache. - Added support for compression in metrics API.
Bug fixes:
- Fixed regression that was preventing ZFS block volume devices from being deactivated on instance stop.
- Fixed live migration cleanup on premature error to avoid leaving blocked QEMU processes running on the target host.
- Fixed virtual function and representor port clean up on instance stop when using
ovn
NICs withsriov=acceleration
. - Fixed metric duplication issue in metrics API.
LXC
Bug fixes:
- Fixed
setproctitle()
's parsing of/proc/pid/stat
to make it safe.
LXCFS
Bug fixes:
- Resolve cpu cgroup path separately from cpuset as the cgroup path is different in kubernetes with containerd runtime.
LXD Charm
Improvements:
- Add metrics-endpoint interface to integrate with prometheus-k8s charm.
YouTube videos
The LXD team is running a YouTube channel with live streams covering LXD releases and weekly videos on different aspects of LXD. You may want to give it a watch and/or subscribe for more content in the coming weeks.
https://www.youtube.com/lxd-videos
Contribute to LXD
Ever wanted to contribute to LXD but not sure where to start?
We’ve recently gone through some effort to properly tag issues suitable for new contributors on Github: Easy issues for new contributors
Upcoming events
- Nothing to report this week
Ongoing projects
The list below is feature or refactoring work which will span several weeks/months and can’t be tied directly to a single Github issue or pull request.
- Stable release work for LXC, LXCFS and LXD
Upstream changes
The items listed below are highlights of the work which happened upstream over the past week and which will be included in the next release.
LXD
- Doc: clean up project documentation
- Device: Adds nested OVN NIC support
- Add OpenID Connect as authentication
- Support VDPA alongside SR-IOV on OVN NICs
- Migration: Add VM live migration for non-shared storage
- Add an example to
lxc network create
- lxc/cluster: Clarify and check --name
- Storage: Fix UnmountVolume not deactivating ZFS block devices
- Migration: Fixes VM live migration premature error cleanup process
- doc: add links to YouTube videos
- Network: Add L3 only mode for OVN networks
- Device: Fix VF and representor interface cleanup when using OVN NIC with
acceleration=sriov
- lxd/metrics: Fix metric duplication issue
- lxd/instance/qemu: Only use KVM mode for feature detection on X86
- lxc/launch: Add examples
- Add compression on metrics endpoint
- Doc: update metrics documentation
- doc/cheat-sheet: update with more markup
- doc/footer: add community links
- doc/authentication: mention that RBAC is covered by Ubuntu Pro
- lxd/device/device/utils/network: Fix networkCreateVethPair backport (stable-5.0)
LXC
- make setproctitle()'s /proc/pid/stat parsing safe
- setproctitle(): Handle potential NULL return from strrchr()
LXCFS
- cpuset cgroup path maybe different from cpu cgroup path in kubernetes
- github: start using ubuntu-22.04 image
Distrobuilder
- Nothing to report this week
LXD Charm
Distribution work
This section is used to track the work done in downstream Linux distributions to ship the latest LXC, LXD and LXCFS as well as work to get various software to work properly inside containers.
Ubuntu
- Nothing to report this week
Snap
- lxd: Bump to 5.13
- lxd: Cherry-pick upstream bugfixes