Weekly status #343

Weekly status for the week of 8th April to 14th April.


With the recent release of LXD 5.21.1 LTS which removed ZFS 0.8 support from the snap package some users on older distributions (such as Ubuntu 18.04 and 20.04) were finding that if they were tracking the latest/stable snap channel that their systems were auto-upgraded to LXD 5.21.1 which prevented LXD from starting up due to their host kernel missing the required ZFS version.

We have now decided to reinstate ZFS 0.8 support into the 5.21/* channels only (but not latest/stable).

This will give those tracking latest/stable on Bionic and Focal a chance to switch to the 5.21/stable LTS series.

To do this run:

sudo snap refresh lxd --channel=5.21/stable

Ubuntu Bionic users will still need to switch to the HWE kernel to get ZFS 0.8 support.
Ubuntu Focal users will be able to use either standard or HWE kernels.

This is effectively a time-limited solution as the latest/stable channel will continue to move on with each feature release in the coming months and may introduce further DB schema changes which will then prevent switching to 5.21/stable.

But for now latest/stable and 5.21/stable are equivalent and so switching is possible.

The change is now available in the 5.21/stable channel.

Bug fixes

  • Fixed issue where if an image was copied to the local LXD server using the same fingerprint as an existing cached image the Cached property was not cleared, meaning it was still considered a candidate for cache expiry even though it had been explicitly copied to the local server.
  • Fixed issue determining the image delta source hash. This issue only happened when a VM image is being pulled while older container image existed on the server because in such case the source image hash for VM delta file would be set to container image.
  • Fixed lxc file push permission setting for existing files.
  • Fixed LXD crash when collecting metrics from /1.0/metrics due to absent locking when there are stopped instances.
  • Fixed issue preventing remote refresh of ZFS backed VM volumes (from Incus).
  • Fixed some scenarios where instances may be incorrectly started on an evacuated server (from Incus).

All changes

The items listed below is all of the work which happened over the past week and which will be included in the next release.


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 LXD as well as work to get various software to work properly inside containers.


  • Nothing to report this week.

LXD snap