Weekly news #394

Weekly status for the week of 28th April to 4th May.

Introduction

This past week, a new feature landed in LXD that allows restoring a cluster member to the online state without affecting any instances. Additionally, several bugs were fixed and CLI completions were significantly improved.

Thanks to all the contributors!

Cluster restore skip mode

LXD now supports cluster restore with skip mode, which allows a cluster member to be restored to the online state without affecting any instances. Instances stopped during evacuation remain stopped, and migrated instances using remote storage are not returned to the original member.

lxc cluster restore <member> --action=skip

This feature is indicated by API extension clustering_restore_skip_mode.

Bug Fixes

  • Fixed an issue where VM creation failed if the source disk did not contain a GPT partition table.

  • Fixed the timezone of snapshot expiry to consistently use UTC, similar to the snapshot creation date.

  • Improved several error messages. For example, the attempt to evacuate an offline cluster member is now clearly indicated in the error.

  • Fixed an issue where LXD UI console could be disconnected after 30 seconds. LXD now generates a server-side initiated web socket pings for remote console connections to avoid premature disconnection.

  • Improved CLI auto-completion by:

    • Adding missing top-level command completions
    • Enhancing file path completion
    • Suppressing public remote suggestions for destructive image operations
    • Filtering device configuration suggestions based on device type
    • Including server configuration suggestions when no remote is explicitly specified

LXD UI

  • Enhanced instance detail metrics to include CPU usage and usage of root and additional disks.

  • Added support for configuring instance export, including options to disable compression and ignore snapshots.

LXD images

Changes on images: simplestream remote:

  • Fixed Debian Sid/Trixie - AppArmor failures caused the images to be temporarily unavailable.

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

LXD UI

LXD Charm

  • Nothing to report this week

LXD Terraform provider

PyLXD

LXD snap

2 Likes