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

Issue 8520043: Implement deploy -force-machine=2

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by hazmat
Modified:
11 years, 8 months ago
Reviewers:
dave, fwereade, niemeyer, dimitern, mp+157690, rog
Visibility:
Public.

Description

Implement deploy -force-machine=2 Allows specification of manual machine for a service's first unit when deploying. https://code.launchpad.net/~hazmat/juju-core/deploy-to/+merge/157690 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : Implement deploy -to #

Patch Set 3 : Implement deploy -to #

Patch Set 4 : Implement deploy -to #

Total comments: 3

Patch Set 5 : Implement deploy -to #

Patch Set 6 : Implement deploy -force-machine=2 #

Total comments: 9

Patch Set 7 : Implement deploy -force-machine=2 #

Patch Set 8 : Implement deploy -force-machine=2 #

Patch Set 9 : Implement deploy -force-machine=2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -19 lines) Patch
A [revision details] View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/builddb/main.go View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/deploy.go View 1 2 3 4 5 6 5 chunks +23 lines, -9 lines 0 comments Download
M cmd/juju/deploy_test.go View 1 2 3 4 5 6 1 chunk +33 lines, -0 lines 0 comments Download
M cmd/jujud/machine_test.go View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M environs/jujutest/livetests.go View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M juju/conn.go View 1 2 3 4 5 6 7 4 chunks +18 lines, -4 lines 0 comments Download
M juju/conn_test.go View 1 2 3 4 5 6 7 2 chunks +10 lines, -1 line 0 comments Download
M state/statecmd/addunit.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A state/statecmd/resolved_test.go View 1 2 3 4 5 6 1 chunk +44 lines, -0 lines 0 comments Download
A state/statecmd/resolved_test.go.THIS View 1 2 3 4 5 6 1 chunk +44 lines, -0 lines 0 comments Download
M worker/firewaller/firewaller_test.go View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20
hazmat
Please take a look.
11 years, 8 months ago (2013-04-08 16:22:32 UTC) #1
dimitern
LGTM modulo the below. So is it deploy -to or deploy --to=blah ? https://codereview.appspot.com/8520043/diff/1/juju/conn.go File ...
11 years, 8 months ago (2013-04-08 16:59:41 UTC) #2
hazmat
format is deploy --to. Added some additional deploy cli tests. i have a concern that ...
11 years, 8 months ago (2013-04-08 17:11:55 UTC) #3
hazmat
Please take a look.
11 years, 8 months ago (2013-04-08 17:14:04 UTC) #4
niemeyer
-1 from me, for reasons debated a non-trivial number of times. This should be addressed ...
11 years, 8 months ago (2013-04-08 17:23:07 UTC) #5
niemeyer
NOT LGTM, for reasons debated a non-trivial number of times. This should be addressed by ...
11 years, 8 months ago (2013-04-08 17:23:59 UTC) #6
hazmat
Constraints at a service level would prevent add-unit from working properly. Are you referencing a ...
11 years, 8 months ago (2013-04-08 17:44:24 UTC) #7
niemeyer
I'm taking this conversation to the list.
11 years, 8 months ago (2013-04-08 17:56:49 UTC) #8
hazmat
per request from william, renaming s/--to/--force-machine to better reflect the constraints bypass.
11 years, 8 months ago (2013-04-08 17:59:36 UTC) #9
hazmat
Please take a look.
11 years, 8 months ago (2013-04-08 18:01:07 UTC) #10
fwereade
On 2013/04/08 17:23:59, niemeyer wrote: > NOT LGTM, for reasons debated a non-trivial number of ...
11 years, 8 months ago (2013-04-08 18:07:35 UTC) #11
hazmat
Please take a look.
11 years, 8 months ago (2013-04-08 18:13:28 UTC) #12
fwereade
LGTM, just a couple of tweaks https://codereview.appspot.com/8520043/diff/5002/cmd/juju/deploy.go File cmd/juju/deploy.go (right): https://codereview.appspot.com/8520043/diff/5002/cmd/juju/deploy.go#newcode92 cmd/juju/deploy.go:92: } Add a ...
11 years, 8 months ago (2013-04-09 11:36:04 UTC) #13
hazmat
All done. thanks. On 2013/04/09 11:36:04, fwereade wrote: > LGTM, just a couple of tweaks ...
11 years, 8 months ago (2013-04-11 13:23:23 UTC) #14
hazmat
Please take a look.
11 years, 8 months ago (2013-04-11 13:26:54 UTC) #15
rog
LGTM with the below issues addressed. https://codereview.appspot.com/8520043/diff/28001/cmd/juju/deploy.go File cmd/juju/deploy.go (right): https://codereview.appspot.com/8520043/diff/28001/cmd/juju/deploy.go#newcode62 cmd/juju/deploy.go:62: f.StringVar(&c.MachineId, "force-machine", "", ...
11 years, 8 months ago (2013-04-11 17:47:51 UTC) #16
hazmat
thanks for the review. https://codereview.appspot.com/8520043/diff/28001/cmd/juju/deploy.go File cmd/juju/deploy.go (right): https://codereview.appspot.com/8520043/diff/28001/cmd/juju/deploy.go#newcode62 cmd/juju/deploy.go:62: f.StringVar(&c.MachineId, "force-machine", "", "Machine to ...
11 years, 8 months ago (2013-04-11 18:03:28 UTC) #17
jameinel
I feel like the conversation on the list ended up with this being acceptable, if ...
11 years, 8 months ago (2013-04-15 06:02:22 UTC) #18
hazmat
*** Submitted: Implement deploy -force-machine=2 Allows specification of manual machine for a service's first unit ...
11 years, 8 months ago (2013-04-16 16:53:00 UTC) #19
dave_cheney.net
11 years, 8 months ago (2013-04-17 00:24:08 UTC) #20
Hazmat, you just checked in some bzr turds.
Sign in to reply to this message.

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