Weekly status for the week of 2nd December to 8th December.
Introduction
This past week LXD received some bug fixes and new options for unix-hotplug devices, enabling matching devices by their subsystem, and allowing device ownership to be inherited from the host.
Thanks to all the contributors!
New options for unix-hotplug
devices
LXD introduced two new options for unix-hotplug
devices: subsystem
and ownership.inherit
.
The first option subsystem
enables matching devices by their subsystem. It also supports matching subsets of devices with a specific vendor ID or devices without product and vendor IDs.
Example:
# Add all devices from a specific subsystem.
lxc config device add <instance_name> <device_name> unix-hotplug subsystem=<subsystem>
# Add all devices from a specific subsystem with a specific vendor ID.
lxc config device add <instance_name> <device_name> unix-hotplug subsystem=<subsystem> vendorid=<vendor_ID>
The second option ownership.inherit
, when enabled, inherits device ownership from the host. The option can be enabled only when gid
and uid
are not configured manually. By default, this option is set to false
, which means the ownership is set to configured uid
and gid
, or 0
(root) if not specified.
Example:
lxc config device add <instance_name> <device_name> unix-hotplug productid=<product_ID> --config ownership.inherit=true
Documentation: Device unix-hotplug
- Device options
Option scope
in metadata configuration API
The metadata API now includes a configuration scope for certain settings, indicating whether the option is member-specific (local
) or applies to all cluster members (global
).
The metadata configuration is accessible on GET /1.0/metadata/configuration
.
lxc query /1.0/metadata/configuration
Bugfixes
-
Fixed an issue where instance conversion would fail on clustered LXD during selection of suitable cluster member with an error message
Unknown instance source type "conversion"
. The source typeconversion
is now correctly handled. -
Fixed an issue where an already initialized LXD incorrectly displayed the initialization help message.
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
- Device: Add
ownership.inherit
setting forunix-hotplug
devices - Device: Add
subsystem
device option forunix-hotplug
devices - API: Add
scope
to metadata configuration API - Clarify which snap channel we recommend
- doc/support: detail the 3 levels of LTS support
- build(deps): bump github.com/minio/minio-go/v7 from 7.0.80 to 7.0.81
- build(deps): bump github.com/dell/goscaleio from 1.17.0 to 1.17.1
- build(deps): bump github.com/minio/minio-go/v7 from 7.0.80 to 7.0.81
- Revert “github: only run CodeQL (go) on PRs and on weekly schedule”
- doc: Add noble package to Windows image conversion
- README: Update references to latest documentation to stable-5.21 (stable-5.21)
- doc: Update doclint exceptions
- test/suites: Check that a restricted client certificate cannot view server configuration
- Storage: Add storage driver cache update to
storagePoolCreateLocal
- Fix detection of suitable architecture for conversion when LXD is clustered
- Introduce source type constants
- github:
lp-snap-build
action - client: Fix unnecessary error formatting
LXD UI
LXD Charm
- Nothing to report this week
LXD Terraform provider
- Nothing to report this week
PyLXD
- 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.