LXD 6.1
Canonical has announced via Ubuntu’s dedicated Discourse instance the release of LXD 6.1, the latest stable version of its container and virtual machine manager. This update introduces several interesting new features.
The first major improvement in LXD 6.1 is that OVN load balancers and network forwarding now support automatic IP allocation. Previously, when creating an OVN load balancer or network forward, users had to manually specify the external listening address on the link network, which could take extra time to determine which IP addresses were available. Additionally, if an OVN network was part of a project, the user creating the network forward or load balancer might not have had sufficient access to view the available IPs on the link. With the new --allocate
flag, LXD will now automatically search for unused IP addresses within the assigned ranges for OVN network usage.
The second enhancement addresses cases where the number of CPU cores for a virtual machine has not been explicitly specified. Moving forward, LXD will automatically set the number of QEMU processes to allocate processor cores based on its instance scheduler. Additionally, LXD’s scheduler will periodically rebalance the CPU pinning configuration whenever instances are added, modified, or deleted. This feature aims to make virtual machine performance more predictable for latency-sensitive applications.
Another key improvement is support for using the kernel driver for Dell PowerFlex’s storage data client (SDC) with the LXD PowerFlex storage pool. This provides an alternative to NVMe over TCP, which is also supported by the manager.
By default, LXD bridge networks are configured with NAT enabled and automatic allocation of private RFC1918/ULA subnets. However, if a bridge network is set up with a routable subnet, it would be possible to access the dnsmasq
DNS service from outside the bridge network. To prevent this, LXD-managed bridge networks now add firewall rules to the host system, blocking DNS traffic directed to dnsmasq
if it originates from outside the bridge network or the host system itself.
LXD 6.1 has also removed several features. These include the concept of hidden API configuration to ensure all configuration fields behave consistently, support for the armhf
architecture in Ceph (as it is not available in Ubuntu 24.04 LTS), and the core.trust_password
feature at the server level, which prevents the use of long-term shared passwords. Lastly, the minimum required version of Go has been updated to 1.22.4.
Overall, it seems that Canonical is ramping up the development of LXD, which has recently been competing with a fork called Incus. Incus was created after Linux Containers transferred ownership of LXD to Canonical a move that did not sit well with the community and ultimately led to the resignation of a veteran employee from the company behind Ubuntu.
Comments
Post a Comment