Weekly status for the week of 30th September to 6th October.
Introduction
The highlight of the past week is the significant improvement in lxc
CLI auto-completion. Additionally, LXD has gained support for binfmt_misc
namespacing. The LXD UI also received several new features and bug fixes, including the ability to move instances and volumes between storage pools.
Thanks to all the contributors!
Support for binfmt
misc namespace (from Incus)
LXD now supports the binfmt_misc
namespacing feature, available in Linux 6.7 and higher. This includes a startup detection mechanism that attempts to mount binfmt_misc
if the feature is supported, skipping the host’s binfmt_misc
mount in such cases.
Bugfixes
-
Fixed an issue where certificates and identity entities would overlap in the authorization model. Certificates are now categorized by type (e.g., client, metrics, server), while identities manage permissions via group membership.
-
Improved
lxc
CLI auto-completion to show available devices when adding a device to an instance and properly display available instances for various instance actions, such as start, stop, and pause. Also fixed an issue where auto completion for instance configuration would also show server configuration options.
LXD UI
New features in the LXD UI include the ability to move instances and storage volumes to a different storage pool, as well as a new single-option selector that simplifies searching and displaying complex elements in the permission setup.
Additionally, several bug fixes have been implemented, such as adding an automatic retry mechanism for network issues when loading additional resources, which previously caused crashes.
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
- Add change detection to
make i18n
for easier commit - Add support for binfmt misc namespace (from Incus)
- Auth: Redefine identity certificate entity types to prevent overlap
- build(deps): bump github.com/NVIDIA/nvidia-container-toolkit from 1.16.1 to 1.16.2
- build(deps): bump github.com/minio/minio-go/v7 from 7.0.76 to 7.0.77
- lxd: Minor fixes
- Backports (stable-5.21)
- godep: Update dependencies and bump min Go version to 1.22.7
- Backports (stable-5.0)
- doc: silence warning caused by sphinx-tabs
- Improve Trivy scanning
- lxc/completion: Update instance completions to not show server configs
- Add shell completions for
lxc config device
- lxd-migrate: Add certificate and key path flags (stable-5.21)
- Only return specific identity types from /1.0/certificates
- lxd/devices: use builtin
min()
- doc/installing: update link to how to manage the LXD snap
- Replace old links (stable-5.0)
- lxc/completions: Improvements to completions for
lxc action
,lxc delete
andlxc exec
- test/suites/backup: ignore time discrepancies when untar’ing
- Makefile: Make lxd-user and lxd-benchmark static binaries
- doc: silence all warnings related to Sphinx 9.0 deprecations
LXD UI
- feat: custom single option select component [WD-10960]
- feat: move instance root volume to another storage pool [WD-14768]
- feat: duplicate custom storage volume [WD-15107]
- feat: [WD-14775] Other Device(s) Test
- chore: retry lazy load components when server is down [WD-13909]
- test: add e2e test for external instance file [WD-14777]
- feat: [WD-15076] Instance Overview add devices
- Fix various UI bugs
- chore(deps): bump rollup from 4.21.3 to 4.22.5 in the npm_and_yarn group across 1 directory
- feat(gpu) add gpu device test WD-14776
- chore(deps): update dependency @canonical/react-components to v1.3.3
- tests: add e2e for duplicating custom storage volume
- fix: [WD-15307] Truncate instance name in instance list (when creatin…
- chore(deps): update dependency @canonical/react-components to v1.6.0
- fix: migrate custom volume in non-default project
LXD Charm
- Nothing to report this week
LXD Terraform provider
PyLXD
- Remove
requests_unixsocket
- setup.cfg: bump version to 2.3.5
- github: ask Dependabot to look after pip updates
- build(deps-dev): bump black from 23.1.0 to 24.8.0
- build(deps-dev): bump isort from 5.6.4 to 5.13.2
- build(deps-dev): bump pytest-cov from 2.10.1 to 5.0.0
- Run unit tests in CI
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.