Weekly status for the week of 16th December to 5th January.
Introduction
All of the LXD team were away for the Canonical holiday shutdown so the changes in this update all come from the week of the 16th to the 22nd December. During this period, LXD received several bug fixes and numerous smaller improvements.
Thanks to all contributors, and happy New Year.
The --format
flag for lxd sql
command
The lxd sql
command enables administrators to query the global or local cluster member database directly.
A new --format
flag has been introduced, allowing results to be formatted as sql
, csv
, table
, compact
, json
or yaml
.
lxd sql global 'SELECT * FROM instances' --format table
Bug Fixes
-
Optimized the efficiency of the patch that removes
volatile.%.last_state.ip_addresses
by consolidating it into a single query. Previously, the patch removed the key individually for each instance and snapshot to ensure intuitive logging. However, this approach could cause upgrade issues on servers with a large number of instances or snapshots. -
Fixed an issue where the LXD incorrectly assumed consistent ordering between
/sys/devices/system/cpu/cpu*/topology/physical_package_id
and/proc/cpuinfo
, causing failures in environments with non-sequential CPU IDs. -
Various improvements to
lxc
command completion, including support for auto-completion of remotes and a fix for thestorage volume show
command, which incorrectly prepended thesnapshots/
prefix when completing snapshot names.
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
- Fix typo: Reusuable → Reusable
- OVN tests for main test suite
- Doc: Improve network load-balancer instructions and add examples
- build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
- build(deps): bump github.com/minio/minio-go/v7 from 7.0.81 to 7.0.82
- build(deps): bump github.com/go-chi/chi/v5 from 5.1.0 to 5.2.0
- Patches: Remove
volatile.%.last_state.ip_addresses
keys more efficiently - build(deps): bump tiobe/tics-github-action from 3.2.1 to 3.3.0
- build(deps): bump github/codeql-action from 3.27.6 to 3.27.9
- build(deps): bump actions/setup-go from 5.1.0 to 5.2.0
- build(deps): bump github.com/go-chi/chi/v5 from 5.1.0 to 5.2.0
- build(deps): bump github.com/openfga/openfga from 1.8.1 to 1.8.2 (stable-5.21)
- build(deps): bump github.com/minio/minio-go/v7 from 7.0.81 to 7.0.82
- build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0
- build(deps): bump github/codeql-action from 3.27.6 to 3.27.9
- build(deps): bump tiobe/tics-github-action from 3.2.1 to 3.3.0
- build(deps): bump actions/setup-go from 5.1.0 to 5.2.0
- Add
--format
flag tolxd sql
- build(deps): bump github.com/openfga/openfga from 1.8.1 to 1.8.2 and update gomod lists
- test: Improve usage of
lxd sql
in tests - Documentation: Update link prefix for
doc/reference/storage_cephfs
- Remove defunct lint exceptions
- CLI: Exclude default remote from
lxc remote switch|remove
shell completions - golangci: Add
prealloc
linter - VM: Move check for container-specific prefixed keys applied to VMs up
- Preserve
custom/c1
syntax during storage volume rename - Minor tweaks
- lxc: man pages fixes and updates
- github: Disable TICS temporarily
- github: update of .jira_sync_config.yaml
- doc: revise explanation titles
- doc/cloud-init: add a note that recent
cloud-init
on older Ubuntu still doesn’t support modern keys - Network: Minor fixes
- lxd/resources/cpu: fix GetCPU() to handle multisockets systems
- VM: Fix live migration
- github: Dont require UI tests to pass to build edge snap
- Gomod updates
- CLI:
lxc storage volume
completion fixes and command description update - Storage: Add reverter to disk device update & test
- DB: Fix update-schema to support lxd in non-GOPATH locations
- Remove
runtime.Caller
fromschema.DotGo
- Remove
schema
command fromlxd-generate
- CLI: Fix remote completions
LXD UI
- feat: [WD-16972] TLS user management spike.
- Group selection ux for identities or idp groups
- fix(permissions) improve identities table column widths
- fix(permissions) link identity groups count to edit panel
- Ensure volatile keys are preserved, when saving a network
LXD Charm
- Nothing to report this week
LXD Terraform provider
- build(deps): bump github.com/hashicorp/terraform-plugin-framework-validators from 0.15.0 to 0.16.0 in the hashicorp group
- gomod: Updates.
- github: Fix MinIO install step condition
PyLXD
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
- github: make use of LXD’s actions/lp-snap-build in build job
- chore(deps): update actions/setup-go action to v5.2.0
- github: fix build workflow syntax
- github: fix reference to LXD’s actions/lp-snap-build
- build(deps): bump actions/setup-go from 5.1.0 to 5.2.0
- lxd: Cherry picks (latest-candidate)
- github: make use of LXD’s actions/lp-snap-build in build job (latest-candidate)
- github: make use of LXD’s actions/lp-snap-build in build job (5.21-edge)
- github: make use of LXD’s actions/lp-snap-build in build job (5.21-candidate)
- github: make use of LXD’s actions/lp-snap-build in build job (5.0-edge)
- github: make use of LXD’s actions/lp-snap-build in build job (5.0-candidate)
- Use netfilter.org source tarballs (5.0-edge)
- github: make use of LXD’s actions/lp-snap-build in build job (4.0-edge)
- nftables: Switch to source tarball (5.21-edge)
- github: make use of LXD’s actions/lp-snap-build in build job (4.0-candidate)
- Bump bundled ZFS tooling
- github:
s/lxd/${PACKAGE}/
in snap build step - nftables: Switch to source tarball (latest-candidate)
- nftables: Switch to source tarball (5.21-candidate)
- nftables: Switch to source tarball (5.0-candidate)
- nftables: Switch to source tarball (4.0-edge)
- nftables: Switch to source tarball (4.0-candidate)
- lxd-ui: update 0.15 tag (latest-candidate)
- lxd-ui: update 0.15 tag (5.21-candidate)