Weekly status for the week of 3rd March to 9th March.
Introduction
The highlight of the past week is the added support for attaching virtual machine snapshots to other virtual machines. Additionally, LXD received several bug fixes in preparation for the upcoming 6.3
release.
Thanks to all the contributors!
Attach virtual machine snapshot as disk device
LXD now supports attaching virtual machine snapshots as read-only disk devices to other virtual machines.
For example, to attach a snapshot snap0
of virtual machine v1
to another VM as a disk device, use the following device configuration:
devices:
v1-snap0:
type: disk
pool: default
source: v1
source.type: virtual-machine
source.snapshot: snap0
Or using lxc
:
lxc config device add <instance> v1-snap0 disk \
pool=default \
source=v1 \
source.type=virtual-machine \
source.snapshot=snap0
Documentation: Storage volumes - Attaching virtual machine snapshots to other instances
Bug Fixes
-
Fixed an issue where merging SSH keys in cloud-init could unintentionally add new users, as the
users
field from user-data overwrote theusers
field in vendor-data. -
Fixed an issue where retrieving native bridge information would fail if the Open vSwitch (OVS) daemon was not active. Now, the native bridge is checked before performing any OVS related checks.
-
Fixed incorrect snapshot creation command in
lxc
help messages. -
Improved error message when images are not found on the remote server.
-
Fixed an issue where the proxy device’s unix socket would persist after the device was removed.
LXD UI
-
The focus was on TLS and OIDC users with limited permissions. The final UI section to receive adaptive behavior for restricted permissions was the storage volume pages. This effort was completed last week with the introduction of warning modals for permission misconfiguration. The UI now provides a seamless user experience for any combination of fine-grained permissions.
-
Support for clustered environments was improved even further. Previously, fixes were applied to the network, storage pool, and server configuration pages in clustered backends. Last week, storage pool usage reporting was enhanced, making metrics available by cluster member for storage pools that are local to a member. This completes a significant effort to improve clustered environment configurations in the UI.
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
- Storage: Attach VM snapshots as disk devices
- cloud-init: SSH key injection improvements
- Network: Add OVS bridge information
- LXD: Proxy device fixes
- lxc: Improve image error
- doc: Code of Conduct replacement and minor fixes
- snapshot: Replace
lxc snapshot create
bylxc snapshot
- lxd/auth: Fix missing comments from @markylaing
- github: Switch to use org level TICS secret
- build(deps): bump actions/cache from 4.2.1 to 4.2.2
- build(deps): bump actions/download-artifact from 4.1.8 to 4.1.9
- build(deps): bump github.com/osrg/gobgp/v3 from 3.34.0 to 3.35.0
- build(deps): bump github.com/osrg/gobgp/v3 from 3.34.0 to 3.35.0
- build(deps): bump actions/cache from 4.2.1 to 4.2.2
- build(deps): bump actions/download-artifact from 4.1.8 to 4.1.9
- build(deps): bump golang.org/x/crypto from 0.34.0 to 0.35.0
- build(deps): bump golang.org/x/oauth2 from 0.26.0 to 0.27.0
- build(deps): bump tags.cncf.io/container-device-interface from 0.8.0 to 0.8.1
- build(deps): bump github.com/osrg/gobgp/v3 from 3.34.0 to 3.35.0
- build(deps): bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5
- AppArmor-related cherry-picks due to core20 update (stable-4.0)
- doc/installing: fix missing words in command syntax
- lxd/instance/drivers/lxc: tiny improvements
- lxd/device/disk: Consider
readonly
for other volume types - doc: code of conduct updates
- docs: add oidc configuration with auth0 and idp groups WD-18947
- Backport docs (stable-5.21)
- doc: update broken link in howto/initialize
- lxd/ubuntupro: Reduce log verbosity when Pro config directory does not exist
- Fix Snapshot Root attachment for RBD Volumes
- Resources: Prioritize native bridges over ovs ones
- doc: hard-code discourse and related links titles
- lxd/instance_instance_types: Update
instanceRefreshTypes
function to useall.yaml
instance type file - Network forward api howtos
LXD UI
- feat: [WD-18263] CMS Storage pool usage
- fix(events): close ws connection on unmount, catch and retry logic
- Show a warning modal for users with restricted permissions that can’t read events
- Use cla v2
- feat: [WD-19336] Storage volumes permission checks
- fix(instance) ensure meters for memory and cpu are positioned in line with text in instance list rows
- Update pr template
LXD Charm
- Nothing to report this week
LXD Terraform provider
- Nothing to report this week
PyLXD
- Nothing to report this week
LXD snap
- lxd: Cherry-pick apparmor fixes for core20 update (4.0-candidate)
- lxd-ui: update 0.16 tag (latest-candidate)
- github: ask dependabot to update GHA on
*-candidate
branches - build(deps): bump actions/upload-artifact from 4.4.3 to 4.6.1
- build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
- build(deps): bump redhat-plumbers-in-action/differential-shellcheck from 5.4.0 to 5.5.3
- build(deps): bump redhat-plumbers-in-action/differential-shellcheck from 5.4.0 to 5.5.3
- snapcraft: explicitly add libtirpc-dev dev for zfs* parts