Weekly status for the week of 8th April to 14th April.
Introduction
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
- Doc: Suggested changes to the first steps tutorial
- build(deps): bump golang.org/x/term from 0.18.0 to 0.19.0
- build(deps): bump github.com/osrg/gobgp/v3 from 3.24.0 to 3.25.0
- build(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0
- build(deps): bump golang.org/x/oauth2 from 0.18.0 to 0.19.0
- build(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0
- build(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0
- build(deps): bump github.com/osrg/gobgp/v3 from 3.24.0 to 3.25.0
- build(deps): bump golang.org/x/oauth2 from 0.18.0 to 0.19.0
- build(deps): bump github.com/openfga/openfga from 1.5.1 to 1.5.2
- build(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0
- build(deps): bump golang.org/x/term from 0.18.0 to 0.19.0
- build(deps): bump golang.org/x/oauth2 from 0.18.0 to 0.19.0
- build(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0
- Determine delta source file based on delta file type
- lxd/instances: Don’t start instances when evacuated (from Incus)
- lxd/auth/openfga: If the
entityType
isTypeServer
, no need to list the server objects - Add canonical.com domain to content security policy
- Doc: add back information about the
images:
remote - doc/storage: document how to list all storage volumes
- lxd/image: set
Cached: false
for pre-existing cached image - lxd:
GET /1.0/warnings
should use thecan_view_warnings
entitlement. - doc/api extensions: add links to config options
- Fix push permissions
- Add missing bash completions
- Storage: Fix refresh of zfs backed VM volumes (from Incus)
- Release LXD 5.21.1
- Tweak renovate configuration
- github: check for lxd-agent binary size changes
- lxd: Fix metrics crash due to absent locking
- github: check both lxc and lxd-agent binary sizes
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.
Ubuntu
- Nothing to report this week.