Weekly status for the week of 2nd January to 8th January.
Introduction
This past week has seen continued work on restructuring the instance creation API endpoint to accommodate the forthcoming instance placement scriptlet feature, as well as the usual rounds of bug fixes and improvements.
Additionally @stgraber has added a video covering the LXD 2023 roadmap:
https://www.youtube.com/watch?v=lXMCXq2Xi0g
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
Improvements:
- Improved logging when errors occur during auto snapshot creation to give additional context.
- Improved error message when creating a ZFS storage pool using an existing non-empty zpool.
- Added top network usage graphs to the Grafana dashboard.
Bug fixes:
- Updated usage help text of
lxd-migrate
command to be accurate. - Fixed BTRFS quota support (due to upstream change) when using BTRFS >= 6.0.1.
- Fixed escaping in
lxd sql .dump
command. - Fixed ID shifting in forksyscall.
- Fixed VM QEMU feature detection on aarch64 platform.
- Fixed
--no-profiles
flag onlxc init
.
LXC
Improvements:
- Several improvements to
lxc-checkconfig
ouput.
Bug fixes:
- Fixed an issue with
lxc-user-nic
that may allow local users to infer whether any file exists. - Fixed Meson build without AppArmor.
- Fixed force linking against liblxc.
- Fixed MTU error handling in
lxc_user_nic
.
LXCFS
Bug fixes:
- Don’t mask offline cpus in
/sys/devices/system/cpu
. - Render physical cpu number in non-view mode in
/proc/stat
.
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
- FOSDEM 2023 4th-5th February 2023. See FOSDEM 2023 containers devroom: Call for papers
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
- lxd: Improve logging in autoCreateInstanceSnapshots
- lxd-migrate: Fix usage string
- Storage: Improve error when existing zpool isn’t empty
- doc: fix version conflicts for doc tools
- doc/lxd-migrate: add information about updating the configuration
- forksyscall: ensure that parent mount is dependent mount
- Storage: Fix BTRFS driver
getQGroup
to suport BTRFS >= 6.0.1 - lxd: Fix escaping of
lxd sql .dump
command - forksyscall: avoid double MS_MOVE
- Instance: Fix VM QEMU feature detection on aarch64
- lxc: Fix --no-profiles flag on
lxc init
- grafana: add top network usage graphs
- Instance: Split cluster member targeting logic to generate candidate members list before selecting least used
LXC
- Patching an incoming CVE (CVE-2022-47952)
- src/lxc/meson.build: fix build without apparmor
- Tweak checkconfig output
- build: force linking against liblxc
- lxc_user_nic: fix get_mtu() error handling
LXCFS
- sysfs: don’t mask cpus in /sys/devices/system/cpu
- /proc/stat: render physical cpu number in non-view mode
Distrobuilder
LXD Charm
- Nothing to report this week
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
- daemon.start: Bump keys/maxbytes sysctl on startup
- lxd: Cherry-pick upstream bugfixes
- snapcraft: Undo Go 1.18 pinning