Weekly status for the weeks of the 11th of January to the 17th of January.
Introduction
The highlight of the past week was the release of LXC 4.0.6 LTS.
This is the sixth bugfix release for LXC 4.0 which is supported until June 2025.
LXD
This past week has primarily been focused on bug fixes and improvements.
We have extended the functionality of the lxc network attach ...
command to allow attaching instances to all types of managed networks (macvlan
, physical
and ovn
) rather than just the former bridge
type. This change also affects the attach behaviour for bridge
networks. Previously it was generating a device config in the instance using the parent
property and now it is using the network
property. This approach allows for certain config keys on the specified network to be applied to the instance NICs, as well as improving validation of the NIC against the functionality provided by the network.
Two bugs in the ceph
storage driver have been fixed. Firstly the instance rename functionality was not renaming both the config and block volumes for VMs. Secondly the unmount instance volume was not properly clearing up the VM block volume device.
If the --project
flag is provided when using the lxc query
command we now present an error as this has never done anything, as the nature of the command means that lxc
itself does not influence the URL being queried. It expects the project to be specified directly using the project
query string parameter.
LXC
On the LXC front, a small, but potentially disruptive change was made to prevent the dnsmasq process that is spawned as part of lxc-net
script from using the system’s config file at /etc/dnsmasq.conf
. If the old behaviour is desired then it can be restored by setting LXC_DHCP_CONFILE=/etc/dnsmasq.conf
in /etc/default/lxc-net
.
Youtube channel
We’ve started a Youtube channel with a couple of live streams so far.
You may want to give it a watch and/or subscribe for more content in the coming weeks.
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.
- Distrobuilder Windows support
- Virtual networks in LXD
- Various kernel work
- 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
- openvswitch/ovs.go: Simplify return in Installed method
- rbac/server.go: Sleep for seconds instead of nanoseconds
- Instance: Regenerate container config file during lxd import recovery
- cluster/raft/file_snapshot.go: defer after checking error
- Storage: Fix ceph VM rename and VM block volume deactivation
- test/suites/container/devices/nic/bridged: Adds port isolation feature test
- lxc: Adds support for attaching instance to a managed network
- Reject
--project
inlxc query
LXC
LXCFS
- Nothing to report this week
Distrobuilder
- 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
- lxc: Bump to 4.0.6
- daemon.start: Workaround mount propagation issues