Weekly status for the week of the 3rd October to the 10th October.
Introduction
This past week has been a bug fixes and improvements week as we finish off the last of our roadmap items for this cycle.
Additionally @stgraber has added a video covering the recently added LXD S3 object storage support:
https://www.youtube.com/watch?v=T1EeXPrjkEY
LXD
Improvements:
- Added an AppArmor policy for
qemu-img
when unpacking (potentially untrusted) virtual machine images. - Avoid unnecessary repeated loading of local server config from database by caching it in memory.
Bug fixes:
- Fixed missing network sub-commands to bash completion script.
- Fixed ZFS mount dataset policy error checking.
- Fixed an issue with
lxd-agent
when statefully migrating VMs. The VM’s vsock CID was changing and thelxd-agent
process will now detect this and restart the vsock listener. - Fixed
lxd-agent
filesystem metrics. - Fixed an issue when using a profile with containers and VMs. If the profile contained a device that wasn’t support by both instance types, then it would not be possible to use the unsupported instance type with the profile. Now if a device type doesn’t support a particular instance type, it is ignored if the device is coming from a profile (rather than instance config).
LXC
Bug fixes:
- Fixed compilation error by replacing calls to
sd_bus_call_method_asyncv
withsd_bus_call_method_async
.
Dqlite (RAFT library):
Improvements:
- Added function calls for request lifecycle tracing.
LXD Charm
Bug fixes:
- Fixed charm installation by using a fresh pyopenssl version. This ensures the OS provided python3-openssl package won’t be used as it conflicts with a newer cryptography module that is installed through pip.
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 planned currently.
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
- [LXD] ACME support for server certificate
- Dqlite disk-only operation mode
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/apparmor: apparmor profile for qemu-img
- refactor: move from io/ioutil to io and os packages
- scripts/bash/lxd-client: Add missing network sub-commands
- Storage: Fix incorrect ZFS mount dataset policy error check
- AppArmor: Fix QemuImg when using symlinks
- lxd/storage/utils: Fix error in ImageUnpack
- AppArmor: Fix QemuImg policy to support snap
- doc/linting: fix failures about indentation for unordered lists
- lxd-agent: Restart server on CID change
- lxd/instance/drivers/driver/qemu: comment typo
- lxd-agent: Fix filesystem metrics
- LXD: Remove use of node.ClusterAddress helper
- Instance: Handle unsupported devices from profiles shared with multiple instance types
- LXD: Use cached local HTTP address and remove node.HTTPAddress() function
LXC
LXCFS
- Nothing to report this week
Distrobuilder
- Nothing to report this week
Dqlite (RAFT library)
Dqlite (database)
- Nothing to report this week
Dqlite (Go bindings)
- Nothing to report this week
LXD Charm
- Configure Renovate
- Revert “Add renovate.json”
- ci: only run integration tests if static analysis passed
- Fix charm installation by using a fresh pyopenssl version
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
- Nothing to report this week