Weekly status #176


Weekly status for the week of the 23rd of November to the 29th of November.

Introduction

This past week has primarily been focused on bug fixes and code cleanups. However there have also been three new features added.

LXD

The new features added to LXD were:

  • The Resource API gained IOMMU group information.
  • We are now including cloud-init network-config when using the config drive (cidata mode).
  • The /1.0 API route now includes the qemu driver version in its output.

There have also been improvements and bug fixes across the different subsystems of LXD, including:

Instances

  • The restarted event is now fully implemented for both containers and VMs.
  • Allow migration of instances that have snapshots with disk devices that reference missing external or custom volumes.
  • Allow cleanup of failed instance copy on target when security.protection.delete is enabled.
  • Fixes running lxc-to-lxd from the snap environment.

Networks

  • A regression in the behaviour of bridge networks when not providing the ipv{n}.address field during an update request has been fixed (and ovn networks have been changed to match too). Earlier when unsetting the IP address field(s) of a network this would result in the IP protocol being disabled. However it was changed to regenerate a random private subnet address (which was specified as the default value of the field(s) in the documentation). The behaviour has been reverted and the documentation clarified to indicate that a random subnet is only generated if the IP address field(s) are missing on first create.

VM

  • The lxd-agent no longer relies on systemd to reboot when activating cloud-init.
  • LXD now follows symlinks to reach the lxd-agent when copying it into the VM’s config drive (this is required on some distributions).
  • Fix GPU passthrough when the GPU has multiple virtual functions.

Storage:

  • Fixed a regression that prevented initial optimised VM image volume creation that was larger than the default volume size.

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

LXC

  • Nothing to report this week

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

  • libseccomp: Bump to 2.5.1
  • swtmp: Bump to 0.5.1
  • lxd: Cherry-picked upstream bugfixes
  • zstd: Added support