Weekly news #357

Weekly status for the week of 29th July to 4th August.

Introduction

LXD received several bug fixes and features this past week. Notably, some AppArmor issues that were preventing unprivileged Ubuntu Oracular containers from starting (due to their use of systemd v256) were addressed in the latest/stable channel and will be included in the next release as well as being backported to the 5.21/stable channel. Thanks to all contributors.

Prevent accidental start of instances

LXD now supports a new security configuration option security.protection.start, which prevents instances from being started. Setting this option on a running instance will not stop it but will prevent it from starting again once stopped.

lxc config set <instance_name> security.protection.start=true

Documentation: How to manage instances - Start an instance

Live migration with attached storage volumes (from Incus)

LXD now supports live migration of instances with additional volumes, but only if the volumes are on remote storage pools.

Documentation: How to move existing LXD instances between servers - Live migration

Bugfixes

  • Fixed fine-grained authorization for storage volumes and buckets in clustered LXD. The issue was caused by the storage volume’s location not being included in the URL, leading to permission checks failing.

  • Fixed an issue where certain events, such as attaching a device to a virtual machine, would fail if a virtual machine is missing LXD agent. (from Incus)

  • Fixed an issue where a deadlock occurred if snapshot creation failed due to a full root disk on ZFS, which prevented instance metadata to be updated with a new snapshot.

  • Enabled extended attributes for the virtiofs daemon when mounting a disk device to an instance.

  • Fixed an issue where an image upload failed during instance conversion with lxd-migrate if the instance volume was created on a directory storage pool.

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

LXD UI

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

4 Likes