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

Issue 7715046: state: unit assignment respects machine series

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by fwereade
Modified:
11 years, 1 month ago
Reviewers:
mp+153332, dimitern, rog
Visibility:
Public.

Description

state: unit assignment respects machine series That is: it is no longer possible to assign a unit to a machine with the wrong series, and machines created for the use of a given unit now take that unit's series. A "Series" field was added to the unit document to make it possible to check this without way-too-many roundtrips. https://code.launchpad.net/~fwereade/juju-core/state-assign-respects-series/+merge/153332 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: unit assignment respects machine series #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -43 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/ssh_test.go View 2 chunks +1 line, -2 lines 0 comments Download
M cmd/juju/status_test.go View 2 chunks +2 lines, -2 lines 0 comments Download
M state/assign_test.go View 4 chunks +31 lines, -30 lines 0 comments Download
M state/service.go View 1 chunk +1 line, -0 lines 0 comments Download
M state/state.go View 1 chunk +1 line, -3 lines 0 comments Download
M state/unit.go View 4 chunks +12 lines, -3 lines 0 comments Download
M worker/firewaller/firewaller_test.go View 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 7
fwereade
Please take a look.
11 years, 1 month ago (2013-03-14 11:39:30 UTC) #1
dimitern
LGTM. As Mr. Burns would say "Eeeexcellent" :)
11 years, 1 month ago (2013-03-14 11:47:18 UTC) #2
dave_cheney.net
On 2013/03/14 11:47:18, dimitern wrote: > LGTM. As Mr. Burns would say "Eeeexcellent" :) To ...
11 years, 1 month ago (2013-03-15 00:21:59 UTC) #3
rog
On 2013/03/14 11:39:30, fwereade wrote: > Please take a look. LGTM, nice.
11 years, 1 month ago (2013-03-15 10:10:56 UTC) #4
rog
On 2013/03/14 11:39:30, fwereade wrote: > Please take a look. LGTM, nice.
11 years, 1 month ago (2013-03-15 10:10:56 UTC) #5
fwereade
On 2013/03/15 00:21:59, dfc wrote: > On 2013/03/14 11:47:18, dimitern wrote: > > LGTM. As ...
11 years, 1 month ago (2013-03-15 10:29:10 UTC) #6
fwereade
11 years, 1 month ago (2013-03-15 11:51:46 UTC) #7
*** Submitted:

state: unit assignment respects machine series

That is: it is no longer possible to assign a unit to a machine with the
wrong series, and machines created for the use of a given unit now take that
unit's series. A "Series" field was added to the unit document to make it
possible to check this without way-too-many roundtrips.

R=dimitern, dfc, rog
CC=
https://codereview.appspot.com/7715046
Sign in to reply to this message.

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