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

Issue 94510043: rsyslog: ensure logs accumulate on state machines

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by wwitzel
Modified:
9 years, 11 months ago
Reviewers:
wwitzel3, mp+219703, fwereade, mfoord
Visibility:
Public.

Description

rsyslog: ensure logs accumulate on state machines Added a WatchForRsyslogChanges watcher and extended the API with GetRsyslogConfig. Changed the rsyslog worker to use these additions. https://code.launchpad.net/~wwitzel3/juju-core/009-ha-rsyslog-api/+merge/219703 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : rsyslog: ensure logs accumulate on state machines #

Total comments: 4

Patch Set 3 : rsyslog: ensure logs accumulate on state machines #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -49 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/params/params.go View 1 1 chunk +7 lines, -0 lines 1 comment Download
M state/api/rsyslog/rsyslog.go View 1 2 chunks +51 lines, -6 lines 1 comment Download
M state/api/rsyslog/rsyslog_test.go View 2 chunks +57 lines, -13 lines 0 comments Download
A state/apiserver/rsyslog/config.go View 1 chunk +34 lines, -0 lines 0 comments Download
M state/apiserver/rsyslog/rsyslog.go View 1 3 chunks +60 lines, -2 lines 3 comments Download
M state/apiserver/rsyslog/rsyslog_test.go View 1 5 chunks +48 lines, -11 lines 0 comments Download
M worker/rsyslog/rsyslog_test.go View 8 chunks +24 lines, -8 lines 0 comments Download
M worker/rsyslog/worker.go View 6 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 15
wwitzel
Please take a look.
9 years, 11 months ago (2014-05-15 14:26:50 UTC) #1
wwitzel3
https://codereview.appspot.com/94510043/diff/1/state/api/params/params.go File state/api/params/params.go (right): https://codereview.appspot.com/94510043/diff/1/state/api/params/params.go#newcode684 state/api/params/params.go:684: // RsyslogConfigResult holds the result of an GetRsyslogConfig s/an/a
9 years, 11 months ago (2014-05-15 14:37:03 UTC) #2
mfoord
https://codereview.appspot.com/94510043/diff/1/state/api/rsyslog/rsyslog.go File state/api/rsyslog/rsyslog.go (right): https://codereview.appspot.com/94510043/diff/1/state/api/rsyslog/rsyslog.go#newcode58 state/api/rsyslog/rsyslog.go:58: fmt.Printf("tag: %s", agentTag) That's a debugging Printf I guess...
9 years, 11 months ago (2014-05-15 15:27:56 UTC) #3
wwitzel
Please take a look.
9 years, 11 months ago (2014-05-15 18:02:07 UTC) #4
wwitzel3
Manually tested many scenarios against virtual maas and ec2. Including going from non-HA to HA ...
9 years, 11 months ago (2014-05-15 18:08:25 UTC) #5
fwereade
I think this is generally solid but I have a few questions. https://codereview.appspot.com/94510043/diff/20001/state/api/params/params.go File state/api/params/params.go ...
9 years, 11 months ago (2014-05-16 09:21:24 UTC) #6
mfoord
On 2014/05/16 09:21:24, fwereade wrote: > I think this is generally solid but I have ...
9 years, 11 months ago (2014-05-16 10:34:34 UTC) #7
mfoord
On 2014/05/16 10:34:34, mfoord wrote: > On 2014/05/16 09:21:24, fwereade wrote: > > I think ...
9 years, 11 months ago (2014-05-16 14:09:28 UTC) #8
mfoord
https://codereview.appspot.com/94510043/diff/20001/worker/rsyslog/worker.go File worker/rsyslog/worker.go (right): https://codereview.appspot.com/94510043/diff/20001/worker/rsyslog/worker.go#newcode152 worker/rsyslog/worker.go:152: if cfg.Port == h.syslogPort && rsyslogCACert == h.rsyslogCACert { ...
9 years, 11 months ago (2014-05-19 10:02:47 UTC) #9
mfoord
On 2014/05/19 10:02:47, mfoord wrote: > https://codereview.appspot.com/94510043/diff/20001/worker/rsyslog/worker.go > File worker/rsyslog/worker.go (right): > > https://codereview.appspot.com/94510043/diff/20001/worker/rsyslog/worker.go#newcode152 > ...
9 years, 11 months ago (2014-05-19 16:45:35 UTC) #10
wwitzel
Please take a look.
9 years, 11 months ago (2014-05-20 14:17:16 UTC) #11
fwereade
Last few changes, otherwise looking good. Thanks. https://codereview.appspot.com/94510043/diff/40001/state/api/params/params.go File state/api/params/params.go (right): https://codereview.appspot.com/94510043/diff/40001/state/api/params/params.go#newcode687 state/api/params/params.go:687: Port int ...
9 years, 11 months ago (2014-05-21 08:06:30 UTC) #12
mfoord
On 2014/05/21 08:06:30, fwereade wrote: > Last few changes, otherwise looking good. Thanks. > > ...
9 years, 11 months ago (2014-05-22 10:57:40 UTC) #13
mfoord
Unfortunately we mangled this branch, so will repropose from this branch: https://code.launchpad.net/~mfoord/juju-core/ha-rsyslog-good/+merge/220669
9 years, 11 months ago (2014-05-22 15:25:43 UTC) #14
mfoord
9 years, 11 months ago (2014-05-22 16:11:31 UTC) #15
On 2014/05/22 15:25:43, mfoord wrote:
> Unfortunately we mangled this branch, so will repropose from this branch:
> 
> https://code.launchpad.net/~mfoord/juju-core/ha-rsyslog-good/+merge/220669

Superseded by: https://codereview.appspot.com/91630045/
Sign in to reply to this message.

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