Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixed lp:1414016 - Ensure LXC config has correct network settings ordering #1480
Conversation
|
$$fixes-1414016$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Generating tarball failed |
|
$$fixes-1414016$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Generating tarball failed |
|
$$fixes-1414016$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Generating tarball failed |
|
$$fixes-1414016$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Generating tarball failed |
|
JFDI |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Generating tarball failed |
|
Aw c'mon... there is not a single file in the repo containing "labix.org" except some slightly outdated docs! CI scripts seem overzealous. |
|
$$tryagain$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
dimitern commentedJan 24, 2015
This addresses the following critical bug - http://pad.lv/1414016.
In essence, the fix causes the generated LXC config files to have
correct ordering of lxc.network.* settings as the lxc tools expects.
All lxc.network.* settings found before an lxc.network.type setting
are moved after that lxc.network.type line.
This can mostly happen when cloning from a template with incorrect
settings, but is also enforced when not using lxc-clone for consistency.
Extensively tested with the local provider and different combinations
of lxc-clone, lxc-clone-aufs settings, trusty and precise images, in
a clean setup or with pre-existing juju-*-lxc-template containers.
(Review request: http://reviews.vapour.ws/r/802/)