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

Issue 14030043: uniter: add hook error status data

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

Description

uniter: add hook error status data With this CL information about a failing hook and, if possible, the relation id and the remote unit are written into the status data of the status doc. https://code.launchpad.net/~themue/juju-core/047-write-hook-error-to-status-data/+merge/187992 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : uniter: add hook error status data #

Total comments: 4

Patch Set 3 : uniter: add hook error status data #

Total comments: 21

Patch Set 4 : uniter: add hook error status data #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -103 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/builddb/main.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M cmd/juju/status.go View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M cmd/jujud/unit_test.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M state/api/machiner/machiner_test.go View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M state/api/uniter/unit_test.go View 1 2 3 1 chunk +8 lines, -2 lines 1 comment Download
M state/apiserver/machine/machiner_test.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M state/apiserver/provisioner/provisioner.go View 1 1 chunk +1 line, -1 line 0 comments Download
M state/apiserver/provisioner/provisioner_test.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M state/apiserver/uniter/uniter_test.go View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M state/export_test.go View 1 2 3 2 chunks +0 lines, -21 lines 0 comments Download
M state/machine.go View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M state/machine_test.go View 1 2 3 3 chunks +71 lines, -25 lines 0 comments Download
M state/unit.go View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M state/unit_test.go View 1 2 3 8 chunks +20 lines, -25 lines 0 comments Download
M worker/machiner/machiner_test.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M worker/provisioner/provisioner_test.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M worker/uniter/modes.go View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download
M worker/uniter/uniter_test.go View 1 2 3 14 chunks +128 lines, -6 lines 0 comments Download

Messages

Total messages: 8
mue
Please take a look.
10 years, 7 months ago (2013-09-27 08:42:29 UTC) #1
dimitern
I don't really like having FullStatus and Status, but I guess there will be a ...
10 years, 7 months ago (2013-09-27 09:11:49 UTC) #2
mue
Please take a look.
10 years, 7 months ago (2013-09-27 11:01:34 UTC) #3
fwereade
NOT LGTM on the basis of these. Haven't checked the other bits yet. https://codereview.appspot.com/14030043/diff/5001/worker/uniter/modes.go File ...
10 years, 7 months ago (2013-09-27 11:11:12 UTC) #4
mue
Please take a look.
10 years, 7 months ago (2013-09-27 12:49:13 UTC) #5
fwereade
I'd really like to see a lot more checks for the actual value of the ...
10 years, 7 months ago (2013-09-27 14:29:57 UTC) #6
mue
Please take a look. https://codereview.appspot.com/14030043/diff/12001/cmd/juju/status.go File cmd/juju/status.go (right): https://codereview.appspot.com/14030043/diff/12001/cmd/juju/status.go#newcode507 cmd/juju/status.go:507: status, info, _, err = ...
10 years, 7 months ago (2013-09-27 15:34:44 UTC) #7
fwereade
10 years, 7 months ago (2013-09-27 15:37:55 UTC) #8
LGTM, just some droppings

https://codereview.appspot.com/14030043/diff/17001/state/api/uniter/unit_test.go
File state/api/uniter/unit_test.go (right):

https://codereview.appspot.com/14030043/diff/17001/state/api/uniter/unit_test...
state/api/uniter/unit_test.go:65: c.Assert(err, gc.IsNil)
drop this bit
Sign in to reply to this message.

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