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

Issue 67870043: Added service owner to the output of juju status

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

Description

Added service owner to the output of juju status Only really useful to land when the juju id branches land. The output of the api call to Status() (including the output of the juju status command) now includes the owner of the service The output looks like this: services: ubuntu: charm: cs:precise/ubuntu-4 exposed: false units: ubuntu/0: agent-state: pending machine: "1" owner-tag: user-admin https://code.launchpad.net/~mattyw/juju-core/add-service-owner-to-status/+merge/207859 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Added service owner to the output of juju status #

Patch Set 3 : Added service owner to the output of juju status #

Patch Set 4 : Added service owner to the output of juju status #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -65 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/status.go View 2 chunks +2 lines, -0 lines 0 comments Download
M cmd/juju/status_test.go View 33 chunks +99 lines, -65 lines 0 comments Download
M state/api/client.go View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M state/apiserver/client/api_test.go View 2 chunks +3 lines, -0 lines 0 comments Download
M state/statecmd/status.go View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7
mattyw
Please take a look.
10 years, 2 months ago (2014-02-24 04:51:02 UTC) #1
dimitern
Looks good, but make sure you're familiar with Martin's recent 1.16 compatibility for status changes: ...
10 years, 2 months ago (2014-02-25 10:15:52 UTC) #2
mattyw
Please take a look.
10 years, 2 months ago (2014-02-27 04:58:01 UTC) #3
dimitern
On 2014/02/25 10:15:52, dimitern wrote: > Looks good, but make sure you're familiar with Martin's ...
10 years, 2 months ago (2014-02-27 10:40:25 UTC) #4
fwereade
On 2014/02/27 10:40:25, dimitern wrote: > On 2014/02/25 10:15:52, dimitern wrote: > > Looks good, ...
10 years, 2 months ago (2014-02-27 13:45:51 UTC) #5
fwereade
On 2014/02/27 13:45:51, fwereade wrote: > On 2014/02/27 10:40:25, dimitern wrote: > > On 2014/02/25 ...
10 years, 2 months ago (2014-02-27 13:47:33 UTC) #6
mattyw
10 years, 2 months ago (2014-02-27 14:07:23 UTC) #7
On 2014/02/27 13:47:33, fwereade wrote:
> On 2014/02/27 13:45:51, fwereade wrote:
> > On 2014/02/27 10:40:25, dimitern wrote:
> > > On 2014/02/25 10:15:52, dimitern wrote:
> > > > Looks good, but make sure you're familiar with Martin's recent 1.16
> > > > compatibility for status changes:
https://codereview.appspot.com/66590043/
> > > > 
> > > > You'll need to use the FullStatus API call.
> > > 
> > > Sorry, so your changes are in statecmd, which gets called internally in
> > > apiserver for both FullStatus and Status.
> > > This means you don't need to care about FullStatus in your CL.
> > > Your changes LGTM assuming you've tested them live as well, just in case.
> > 
> > I'm fairly strongly -1 on this, because status is bloated enough already.
Can
> we
> > please start adding flags to status for additional information?
> 
> And especially in status, adding the owner to every unit feels wrong. If units
> ever get explicit owners we can add it then; for now, the service feels like a
> much better place. So not lgtm without discussion, at least.

Fair enough - I was hoping to have discussion with you and roger about this -
the implementation here includes the owner as part of the service though - not
part of the unit
Sign in to reply to this message.

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