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

Issue 10777044: Add container support to force-machine (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by wallyworld
Modified:
10 years, 9 months ago
Reviewers:
dimitern, mp+173836, fwereade
Visibility:
Public.

Description

Add container support to force-machine The deploy --force-machine option now supports containers, either deploying to existing containers or creating new ones on nominated machines. Example syntax: juju deploy mysql --force-machine 23 juju deploy mysql --force-machine 24/lxc/3 juju deploy mysql --force-machine 25/lxc The last example creates a new lxc container on machine 25. The add-machine syntax has been tweaked to remove the leading "/" from the container arg. https://code.launchpad.net/~wallyworld/juju-core/force-machine-containers/+merge/173836 Requires: https://code.launchpad.net/~wallyworld/juju-core/clean-policy-container/+merge/173633 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add container support to force-machine #

Patch Set 3 : Add container support to force-machine #

Patch Set 4 : Add container support to force-machine #

Total comments: 5

Patch Set 5 : Add container support to force-machine #

Total comments: 21

Patch Set 6 : Add container support to force-machine #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -69 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/addmachine.go View 1 2 3 2 chunks +9 lines, -7 lines 1 comment Download
M cmd/juju/addmachine_test.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/deploy.go View 1 2 3 4 5 5 chunks +20 lines, -20 lines 0 comments Download
M cmd/juju/deploy_test.go View 1 2 3 4 5 4 chunks +43 lines, -9 lines 0 comments Download
M juju/conn.go View 1 2 3 4 5 6 chunks +44 lines, -7 lines 0 comments Download
M juju/conn_test.go View 1 2 3 4 5 4 chunks +42 lines, -5 lines 0 comments Download
M state/api/params/params.go View 1 2 3 4 1 chunk +7 lines, -7 lines 0 comments Download
M state/apiserver/client/client.go View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download
M state/apiserver/client/client_test.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M state/state.go View 1 2 3 4 5 2 chunks +14 lines, -6 lines 0 comments Download
M state/state_test.go View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
M state/unit.go View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M state/unit_test.go View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13
wallyworld
Please take a look.
10 years, 9 months ago (2013-07-09 22:44:51 UTC) #1
fwereade
On 2013/07/09 22:44:51, wallyworld wrote: > Please take a look. Diff is very dirty, but ...
10 years, 9 months ago (2013-07-10 09:15:52 UTC) #2
wallyworld
Please take a look.
10 years, 9 months ago (2013-07-10 12:18:27 UTC) #3
wallyworld
Please take a look.
10 years, 9 months ago (2013-07-11 00:08:01 UTC) #4
wallyworld
Please take a look.
10 years, 9 months ago (2013-07-11 00:31:47 UTC) #5
fwereade
I'm not sure about the new args to AddUnits. Am I missing something? https://codereview.appspot.com/10777044/diff/13001/cmd/juju/addmachine_test.go File ...
10 years, 9 months ago (2013-07-11 04:10:25 UTC) #6
wallyworld
Please take a look. https://codereview.appspot.com/10777044/diff/13001/cmd/juju/addmachine_test.go File cmd/juju/addmachine_test.go (right): https://codereview.appspot.com/10777044/diff/13001/cmd/juju/addmachine_test.go#newcode76 cmd/juju/addmachine_test.go:76: err := runAddMachine(c, fmt.Sprintf("%s", ctype)) ...
10 years, 9 months ago (2013-07-11 06:41:02 UTC) #7
dimitern
A few suggestions. Looks good in general. https://codereview.appspot.com/10777044/diff/20001/cmd/juju/addmachine.go File cmd/juju/addmachine.go (right): https://codereview.appspot.com/10777044/diff/20001/cmd/juju/addmachine.go#newcode34 cmd/juju/addmachine.go:34: Doc: "Machines ...
10 years, 9 months ago (2013-07-11 21:34:15 UTC) #8
wallyworld
Please take a look. https://codereview.appspot.com/10777044/diff/20001/cmd/juju/addmachine.go File cmd/juju/addmachine.go (right): https://codereview.appspot.com/10777044/diff/20001/cmd/juju/addmachine.go#newcode34 cmd/juju/addmachine.go:34: Doc: "Machines are created in ...
10 years, 9 months ago (2013-07-12 03:44:53 UTC) #9
dimitern
Thanks, LGTM with a suggestion. https://codereview.appspot.com/10777044/diff/29001/cmd/juju/addmachine.go File cmd/juju/addmachine.go (right): https://codereview.appspot.com/10777044/diff/29001/cmd/juju/addmachine.go#newcode34 cmd/juju/addmachine.go:34: Doc: "Machines are created ...
10 years, 9 months ago (2013-07-12 07:40:31 UTC) #10
fwereade
Thanks for all your work on this. Given its pipeline position, LGTM, so long as ...
10 years, 9 months ago (2013-07-15 14:55:24 UTC) #11
wallyworld
On 2013/07/15 14:55:24, fwereade wrote: > Thanks for all your work on this. Given its ...
10 years, 9 months ago (2013-07-16 00:48:17 UTC) #12
fwereade
10 years, 9 months ago (2013-07-16 13:00:53 UTC) #13
On 2013/07/16 00:48:17, wallyworld wrote:
> On 2013/07/15 14:55:24, fwereade wrote:
> > Thanks for all your work on this. Given its pipeline position, LGTM, so long
> as
> > there's an immediate followup to change the spelling from 25/lxc to lxc:25.
> 
> I've made the change is this branch and will carry it forward.

Perfect, tyvm.
Sign in to reply to this message.

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