Weekly status for the week of 18th March to 24th March.
Introduction
The past week has mostly been focussed on fixing bugs as we get ready for pushing LXD 5.21 to the stable snap channels.
Bug fixes
- Check image being requested from a remote exists before exporting it. Prevents being able to manipulate the
lxc image export
command in trying to access a local file. - Improve BTRFS storage pool database record recovery by recreating the
source
device UUID if detected (to match the initial creation process). - Stop setting “soft” container memory limit when hard limit is set for cgroupv2. This was preventing the OOM killer from kicking in and instead slowing all of the container’s processes to a crawl when memory limit was reached.
- Fix issue that was preventing launching VMs on hosts with greater than 288 CPU cores.
- Set
fs.inotify.max_user_watches
sysctl setting to at least1048576
when using LXD from the snap package. This allows running more than ~85 Ubuntu containers concurrently out of the box. - Sync LXD snap package
daemon.start
script user/group creation withdaemon.activate
script. - Fixed issue in the LXD snap
setup-shmounts
program that was not correctly terminating the forked child process and was incorrectly continuing onto the parent part of the process from the child. This was causing shmounts to incorrectly be setup sometimes which in turn was preventing removal of the LXD snap in some cases.
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
- lxc/file: Get owner mode only if
--gid
or--uid
is unset - from Incus - lxc: Check the image really exists on the remote before exporting it
- API: Enable gzip compression
- Few improvements to bash completion
- build(deps): bump github.com/mdlayher/ndp from 1.0.1 to 1.1.0
- build(deps): bump github.com/mdlayher/ndp from 1.0.1 to 1.1.0
- github: Add stable-5.21 branch to dependabot config
- build(deps): bump github.com/mdlayher/ndp from 1.0.1 to 1.1.0
- Migration: Always clone the device config
- Backports (stable-5.0)
- doc/reference: reorder pages and update the landing page
- doc/explanation: reorder pages and update the landing page
- Storage: Recover BTRFS pools
source
to block device UUID to align with creation process - Backports (stable-5.0)
- Backports (stable-5.21)
- doc/howto: reorder pages and update the landing pages
- Patch: Fix patches that incorrectly depend on cluster member being leader
- Container: Do not set “soft” limit when hard limit is set for cgroupv2
- VM: Fix handling of > 64 limits.cpu
- doc: workaround for undefined references
- lxd/api: Revert gzip compression on API
- Backports (stable-5.21)
- Storage: Remove unused parameters
- lxd/api_internal.go: remove impossible conditions
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.
LXD snap
- snapcraft/commands/daemon.start: bump fs.inotify.max_user_watches
- Backports (5.21-candidate)
- Backports (5.0-edge)
- shmounts: terminate the forked off mount namespace capture helper (latest-candidate)
- shmounts: terminate the forked off mount namespace capture helper (5.21-edge)
- github: Update dependabot to check 5.21-edge
- snapcraft/commands/daemon.start: bump fs.inotify.max_user_watches (latest-candidate)
- snapcraft/commands/daemon.start: bump fs.inotify.max_user_watches (5.21-edge)
- snapcraft/commands/daemon.start: bump fs.inotify.max_user_watches (5.21-candidate)
- snapcraft/commands/daemon.start: bump fs.inotify.max_user_watches (5.0-edge)
- snapcraft/commands/daemon.start: sync user/group creation with daemon.activate
- lxd: Cherry-pick upstream bugfixes (5.0-candidate)
- lxcfs: cherry-pick upstream bugfix (5.21-edge)
- lxcfs: cherry-pick upstream bugfix (5.0-edge)
- Fixes and backports (5.21-edge)
- Fixes and backports (5.0-edge)
- Backports (latest-candidate)
- Backports (5.21-candidate)