Weekly News #358

Weekly status for the week of 5th August to 11th August.

Introduction

LXD received several bug fixes this past week. Support for profile creation from a YAML string was also added.

Notably, a lot of relevant changes this week were cherry-picked from Incus.

Thanks to all contributors and to the Incus team.

UI tutorial

We added a Getting started with the UI tutorial to the documentation that gives a quick introduction to how you can work with LXD using the LXD UI.

Support profile creation from YAML (from Incus)

LXD now supports profile creation from a YAML string.

The example below illustrates how this can be accomplished:

lxc profile create foo << EOF
config:
    limits.cpu: 2
    limits.memory: 1024MiB
description: Test profile
devices:
    root:
        path: /
        pool: ${poolName}
        type: disk
EOF

Bugfixes

  • Fixed removal of iptables rules on deletion of a port forward when the host is using the nftables shim. (from Incus)
  • Fixed the usage of nictype=physical for USB NICs. (from Incus)
  • Avoid instance data corruption when recovering instances during cluster auto healing. (from Incus)
  • Fixed import of instance snapshots with underscores in their names.
  • Fixed lxc import failing if a snapshot name contains non-alphanumeric characters.

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

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.

LXD snap

2 Likes

@edlerd @mionaalex This is the first draft for this week’s weekly news.

Edit: Approved and ready for publishing :smiley:

Hey! This example can be represented more concisely, and clearly, as:

$lxc profile create foo <<EOF
config:
    limits.cpu: 2
    limits.memory: 1024MiB
description: Test profile
devices:
    root:
        path: /
        pool: ${poolName}
        type: disk
EOF

Best regards

Daniel

1 Like

Yes indeed, thank you!