Weekly status for the week of the 11th to the 17th of June 2018.
Introduction
The focus for this past week was clearly on bugfixes, with a lot of fixes making their way into liblxc, solving a number of subtle resource leaks and race conditions.
On the LXD side, a lot of improvements went into the proxy
device, which now supports UDP and Unix sockets, has much better error handling and work is ongoing on supporting port ranges.
The LXD cluster API was improved to simplify joining a new cluster member into an existing cluster. And a number of issues have gotten resolved ahead of LXD 3.2.
LXD 3.2 should be released in the next day or so and LXC, LXD and LXCFS 3.0.1 should become available to all Ubuntu 18.04 users by the end of the week, followed by backports to Ubuntu 16.04.
Upcoming conferences and events
- Open Source Summit North America - Vancouver, BC (August 29-31)
- Linux Plumbers Conference - Vancouver, BC (November 13-15)
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.
- Rewrite of the LXC-to-LXD migration tool
- Switching distribution building over to distrobuilder
- Various kernel work
- Stable release work for LXC, LXCFS and LXD
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
- Added support for
udp
andunix
sockets to theproxy
device - Fixed
lxc import
andlxc export
to work with the snap - Fixed leftover processes being left behind in the proxy test
- Added a new simpler API to join a node in a cluster
- Fixed a database issue with storage pool handling in a cluster
- Enabled TCP KeepAlive by default
- Fixed some MAAS related issues
- Cleaned up a lot of our logging strings
- Improved our error responses handling
- Improved the error on bad cluster target
LXC
- Fixed a thread safety issue with getpwnam
- Fixed a double free issue in the attach code
- Fixed a first coverity issue
- Fixed a thread safety issue with getpwuid
- Fixed a thread safety issue with getgrgid
- Fixed a second coverity issue
- Fixed a third coverity issue
- Fixed a bunch of coverity issues and a memory leak in conf parsing
- Added a check for the availability of checkgrgid_r
- Fixed a resource leak in the storage code
- Fixed another set of coverity issues
- Replaced calls to strcpy with strlcpy
- Replaced more calls to strcpy with strlcpy
- Removed an unused argument in the config parser
- Replaced a last batch of strcpy calls with strlcpy
- Fixed an fd handle leak
LXCFS
- Fixed a memory leak in loadavg handling
- Added logic to restart the
loadavg
threads on upgrade
Distrobuilder
- Nothing to report this week
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
- LXC, LXCFS and LXD 3.0.1 are now going through testing in bionic-proposed
- Fixed an upgrade issue for LXCFS 3.0.1 in cosmic and bionic
Snap
- Nothing to report this week