Weekly status #9

Weekly status for the week of the 31st to the 6th of August 2017.

Introduction

This week’s focus was on bugfixing and more preparation work for LXC 2.1 on the LXC side of things.

We’ve also spent quite a bit of time improving the LXD snap so that all storage backends work properly using it, including automated tests on all distributions. This gets us one step closer to having the LXD snap be production ready.

Upcoming conferences

Ongoing projects

The list below is feature or refactoring work which will span several weeks/months and can’t be tied directly to a single Github issue or pull request.

Upstream changes

The items listed below are highlights of the work which happened upstream over the past week and which will be included in the next release.

LXD

LXC

LXCFS

Distribution work

This section is used to track the work done in downstream Linux distributions to ship the latest LXC, LXD and LXCFS as well as work to get various software to work properly inside containers.

Ubuntu

  • No update was required this week

Snap

  • Added support for LVM
  • Added support for Ceph
  • Updated our tests to validate that all storage backends work on all Linux distributions
  • Added CRIU integration
1 Like
  • looking forward to that. Is there any rough ETA for production readiness of the snap package?

  • Could you rightfully say that the way to get the newest production ready version of lxd would be through snap install lxd then?

  • snap question … you should get the latest revision of the snap package (and likewise the newest production ready lxd) automatically, or manually by snap refresh lxd right?

Right now the main things we need to sort out are:

  • Passing disk devices (directories) from outside the snap’s mount namespace
  • Bash completion (blocked on snapd fixing their currently broken implementation)
  • Migration script for .deb users to transition to the snap

Right now, we have:

  • snap install lxd (equivalent of --stable) => Latest LXD feature release (tested)
  • snap install lxd --candidate => Snap being tested ahead of release into stable (untested)
  • snap install lxd --edge => Automatic builds from Github (untested)

We also have a “2.0” track for those who want to use the LXD LTS branch:

  • snap install lxd --channel=“2.0/stable” => Latest LXD LTS release (tested)
  • snap install lxd --channel=“2.0/candidate” => Snap being tested ahead of release into stable (untested)
  • snap install lxd --channel=“2.0/edge” => Automatic builds from Github (untested)

And we have automatic testing for all of those running here: https://jenkins.linuxcontainers.org/view/LXD/view/LXD%20tests/

snapd will auto-refresh your snaps once a day. You can always force a refresh with “snap refresh lxd”.

Bash completion (blocked on snapd fixing their currently broken implementation)

This could be worked around by using the .deb bash completion. It’s not a clean but helps a lot. Tried and tested.

By the way, LXD team work is awesome.

Indeed. We will also start shipping the bash completion profile in the snap soon, even if snapd doesn’t know how to use it yet. That’ll at least make it easier for you to symlink into place and get it working manually.