Weekly status for the week of 27th November to 3rd December.
Introduction
This past week we have landed more of our cycle’s roadmap items, fixed an issue with booting BIOS-based imported VMs when using security.csm
mode, as well as a number of other bug fixes.
LXD highlights
Features
- Support for creating Ceph metadata and data OSD pools as part of creating a
cephfs
storage pool has been added. This new functionality is specified using thecephfs.create_missing
,cephfs.meta_pool
andcephfs.data_pool
pool config options.
For example:
lxc storage create mypool cephfs source=cephfs \
cephfs.create_missing=true \
cephfs.data_pool=xyz_data \
cephfs.meta_pool=xyz_meta
Improvements
- The ring-buffer serial device that is exposed to LXD VM guests that is used by the
lxd-agent
to instruct it to start as well as being used to indicate the agent’s run status back to LXD has been renamed fromorg.linuxcontainers.lxd
tocom.canonical.lxd
. To maintain compatibility with existing images that contain systemd units that check for the presence of the old serial device the old device is still present in the guest, however it is no longer used for indicating the agent’s run status to LXD. See Rename LXD QEMU VM ring buffer to com.canonical.lxd for more information. - Added support to the LXD snap’s EDK2 firmware to respect
disk
device(s)boot.priority
setting when usingsecurity.csm
mode. Previously this was causing a problem when importing BIOS-based VMs that did not boot using UEFI because the VM firmware was trying to boot the UEFI devices first, and this meant that PXE network boot was tried before the BIOS-based root disk, causing long boot delays.
Bug fixes
- Fixed a regression introduced by #12258 that prevented creating BTRFS storage pools inside nested containers.
- Fixed an issue that was preventing the use of
--storage
and--target-project
flags at the same time when performing an instance move. - Fixed an issue that was causing a confusing error message to be displayed if a VM’s
lxd-agent
was stopped (or if the VM was powered off internally).
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
- Respect storage pool configuration when moving instance between projects
- Optionally create entities for
cephfs
storage pool - Rename ring buffer to com.canonical.lxd
- Few small changes to
lxd-agent-setup
script - github: instruct dependabot to also look after the stable-5.0 branch
- github: instruct dependabot to also look after the stable-4.0 branch
- build(deps): bump actions/labeler from 3 to 4
- build(deps): bump actions/upload-artifact from 2 to 3
- build(deps): bump actions/setup-go from 2 to 4
- build(deps): bump actions/checkout from 2 to 4
- github: dependabot knows which branch to target
- github: dependabot knows which branch to target (stable-5.0)
- VM: Support bootorder in edk2 CSM mode
- Revert to filepath traversal if subvolume list fails
- Use default VM block filesystem size from driver
- Use stable random generator for temporary instance name
- Set specific root drive config only for Ceph backends
- Improved filtering from Incus
- Update iso import in instances_create
- doc/howto: Make pool name consistent in iso tutorial.
- Retain root disk device when moving an instance to different project
- doc/instances: change pool name to be consistent
- VM: Strip noisy eof error when lxd-agent disconnects during exec session
- doc/support: add information about Ubuntu Pro
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.
Snap
- edk2: add custom patch for bootorder support in CSM mode
- github: instruct dependabot to also look after the 5.0/4.0-edge branches
- build(deps): bump actions/checkout from 3 to 4
- github: dependabot knows which branch to target
- Fix file mount flag in error message
- snapcraft: prime fusermount3 binary
- Port fix for file mount flag in error message (latest-candidate)
- Misc changes
- MicroOVN content interface support
- Revert “snapcraft: 20 is the new LTS stream for node”
- Revert “Revert “snapcraft: 20 is the new LTS stream for node””