Weekly status for the week of 19th August to 25th August.
Introduction
This past week, both LXD and LXD UI received several bug fixes and new features. Additionally, an interim LXD 5.21 release was released to address issues with Ubuntu Oracular unprivileged containers. Thanks to all the contributors for their efforts.
Creating projects and storage bucket keys from YAML (from Incus)
Projects and storage bucket keys can be now created directly from YAML.
For example:
$ lxc project create my-project <<EOF
description: My project
config:
limits.cpu: 2
limits.memory: 2GiB
EOF
Bugfixes
-
Fixed the patch system that previously did not respect the provided patch stage. This meant that all patches were executed during an earlier stage during LXD’s start up, rather than being applied during specific stages of LXD’s start up. This was causing several issues during LXD upgrades when applying certain patches.
-
The cluster member name can no longer be set to
none
, as this term is used internally to indicate that an LXD server is not part of a cluster. -
Fixed an issue where the cluster notification process would fail if a member was shutting down during notification. The shutdown is now treated as the server not being alive, and depending on the notification policy will be skipped rather than failing.
-
Fixed an issue where two pass-through devices with long names could result in identical underlying QEMU IDs due to QEMU trimming to 64 characters. Long device names are now hashed beforehand to prevent this issue.
-
Fixed an issue where
lxc console --show-log
would return an error when no logs are available, now displaying a more intuitive message instead.
LXD UI
The team has enhanced LXD-UI with key features:
- Instance duplication for easy replication.
- Create image from instance for generating images.
- Migrate instance with bulk migrate for smoother instance transitions.
Export image and upload image were also added for improved image management, and upload instance for integrating pre-configured instances.
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
- Don’t fail when notifying a server that is shutting down when using NotifyAlive
- lxc: Add support for creating project from yaml (from Incus)
- build(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0
- build(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0
- build(deps): bump github.com/minio/minio-go/v7 from 7.0.74 to 7.0.75
- build(deps): bump golang.org/x/text from 0.16.0 to 0.17.0
- build(deps): bump golang.org/x/text from 0.16.0 to 0.17.0
- build(deps): bump golang.org/x/sys from 0.22.0 to 0.24.0
- build(deps): bump golang.org/x/term from 0.22.0 to 0.23.0
- lxc: Add support for creating bucket key from yaml (from Incus)
- VM: Improve QEMU passthrough device ID generation
- Run verbose unit tests
- build(deps): bump github.com/miekg/dns from 1.1.61 to 1.1.62
- build(deps): bump github.com/minio/minio-go/v7 from 7.0.74 to 7.0.75
- build(deps): bump github.com/zitadel/oidc/v3 from 3.26.0 to 3.27.0
- build(deps): bump github.com/zitadel/oidc/v3 from 3.26.0 to 3.27.0
- build(deps): bump github.com/miekg/dns from 1.1.61 to 1.1.62
- Backports (stable-5.21)
- gomod: Update dependencies
- doc/tutorial: integrate feedback for UI tutorial
- Backports (stable-5.21)
- doc/instances: add anchor to allow linking to section
- Patches: Fix patch system so that it respects the patch stages
- shared: Allow adding multiple names to certificate SAN
- Cluster: Enforce member name cannot be
none
- lxd: Provide state for physical managed networks
- Fix console show log
LXD UI
- feat: [WD-13703] add export image
- feat: [WD-13702] Add publish instance
- chore(deps): update all dependencies
- feat: bulk migrate instances [WD-13700]
- feat: improve project deletion experience [WD-13431]
- feat: enrich permission selector entitlements with descriptions [WD-13431]
- feat: [WD-13704] Create image from backup file
- feat: [WD-14036] Duplicate instance (lxc copy)
- fix: adjust generate certificate page layout
- chore(deps): update dependency @canonical/react-components to v1.1.0
- fix(volume) custom volume cache key needs to include the current project
- feat: create instance from backup file [WD-13919]
- chore(deps): update dependency @canonical/react-components to v1.2.0
- feat: [WD-14347] Refactor for create image API
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.