Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4333)

Issue 10370044: Implement lxc containers

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by thumper
Modified:
10 years, 10 months ago
Reviewers:
mue, wallyworld, mp+169980, fwereade, rog
Visibility:
Public.

Description

Implement lxc containers This branch adds a containers interface, and an lxc implementation of them. A Container is-a Instance, and uses the interface embedding to copy across the Instance methods. At this stage, the containers do nothing special with networking, and just use the default set up. /var/log/juju is mounted from the host to the inside of the container for ease of access to log files. Some new checks have been added, along with some testing functions for files. https://code.launchpad.net/~thumper/juju-core/lxc-container/+merge/169980 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 43

Patch Set 2 : Implement lxc containers #

Total comments: 9

Patch Set 3 : Implement lxc containers #

Total comments: 13

Patch Set 4 : Implement lxc containers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+696 lines, -2 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A container/lxc/export_test.go View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A container/lxc/instance.go View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
A container/lxc/lxc.go View 1 2 3 1 chunk +283 lines, -0 lines 0 comments Download
A container/lxc/lxc_test.go View 1 2 3 1 chunk +167 lines, -0 lines 0 comments Download
A container/lxc/mock-lxc_test.go View 1 1 chunk +147 lines, -0 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A testing/instance.go View 1 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 14
thumper
Please take a look.
10 years, 10 months ago (2013-06-18 03:40:29 UTC) #1
wallyworld
Looks nice but I have some questions. https://codereview.appspot.com/10370044/diff/1/container/container.go File container/container.go (right): https://codereview.appspot.com/10370044/diff/1/container/container.go#newcode21 container/container.go:21: apiInfo *api.Info) ...
10 years, 10 months ago (2013-06-18 05:29:55 UTC) #2
mue
Some more comments plus what written in https://codereview.appspot.com/10361045/ (had that one before). https://codereview.appspot.com/10370044/diff/1/container/container.go File container/container.go ...
10 years, 10 months ago (2013-06-18 12:47:03 UTC) #3
thumper
https://codereview.appspot.com/10370044/diff/1/container/container.go File container/container.go (right): https://codereview.appspot.com/10370044/diff/1/container/container.go#newcode21 container/container.go:21: apiInfo *api.Info) error On 2013/06/18 12:47:04, mue wrote: > ...
10 years, 10 months ago (2013-06-18 23:50:16 UTC) #4
thumper
Please take a look.
10 years, 10 months ago (2013-06-19 04:01:42 UTC) #5
thumper
On 2013/06/19 04:01:42, thumper wrote: > Please take a look. Now also contains changes from ...
10 years, 10 months ago (2013-06-19 04:20:44 UTC) #6
wallyworld
In summary, looking pretty good but I have a couple of concerns. https://codereview.appspot.com/10370044/diff/12001/container/lxc/instance.go File container/lxc/instance.go ...
10 years, 10 months ago (2013-06-20 02:01:23 UTC) #7
thumper
On 2013/06/20 02:01:23, wallyworld wrote: > In summary, looking pretty good but I have a ...
10 years, 10 months ago (2013-06-20 22:20:24 UTC) #8
thumper
Please take a look.
10 years, 10 months ago (2013-06-20 22:25:57 UTC) #9
wallyworld
On 2013/06/20 22:20:24, thumper wrote: > On 2013/06/20 02:01:23, wallyworld wrote: > > In summary, ...
10 years, 10 months ago (2013-06-20 23:48:29 UTC) #10
rog
looks good, with some trivial issues and one significant concern around the uniqueDirectory code. https://codereview.appspot.com/10370044/diff/1/container/lxc/lxc.go ...
10 years, 10 months ago (2013-06-21 07:13:52 UTC) #11
fwereade
I still think it's a little bit smelly to be mixing Instance methods into the ...
10 years, 10 months ago (2013-06-21 10:00:59 UTC) #12
thumper
Please take a look. https://codereview.appspot.com/10370044/diff/1/container/lxc/lxc.go File container/lxc/lxc.go (right): https://codereview.appspot.com/10370044/diff/1/container/lxc/lxc.go#newcode73 container/lxc/lxc.go:73: apiInfo *api.Info, On 2013/06/21 10:01:00, ...
10 years, 10 months ago (2013-06-24 01:29:14 UTC) #13
wallyworld
10 years, 10 months ago (2013-06-24 01:41:34 UTC) #14
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b