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

Issue 86920043: mongo keyfiles and refactoring

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by natefinch
Modified:
10 years ago
Reviewers:
dimitern, mp+215464, axw, jameinel, rog
Visibility:
Public.

Description

mongo keyfiles and refactoring Write out mongo keyfiles,move initiate under peergrouper. https://code.launchpad.net/~natefinch/juju-core/041-moremongo/+merge/215464 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 18

Patch Set 2 : mongo keyfiles and refactoring #

Total comments: 48

Patch Set 3 : mongo keyfiles and refactoring #

Patch Set 4 : mongo keyfiles and refactoring #

Unified diffs Side-by-side diffs Delta from patch set Stats (+654 lines, -429 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M agent/bootstrap.go View 2 chunks +3 lines, -3 lines 0 comments Download
M agent/mongo/mongo.go View 1 2 7 chunks +116 lines, -90 lines 0 comments Download
M agent/mongo/mongo_test.go View 1 2 3 4 chunks +217 lines, -167 lines 0 comments Download
M agent/mongo/upgrade.go View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
A agent/mongo/upgrade_test.go View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
M cloudinit/sshinit/configure_test.go View 1 chunk +1 line, -9 lines 0 comments Download
M cmd/jujud/agent_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cmd/jujud/bootstrap.go View 1 2 3 4 chunks +35 lines, -22 lines 0 comments Download
M cmd/jujud/bootstrap_test.go View 1 2 5 chunks +17 lines, -39 lines 0 comments Download
M cmd/jujud/machine.go View 1 2 4 chunks +13 lines, -9 lines 0 comments Download
M cmd/jujud/machine_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M environs/cloudinit/cloudinit.go View 3 chunks +7 lines, -54 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 1 2 4 chunks +0 lines, -13 lines 0 comments Download
M replicaset/replicaset.go View 1 2 2 chunks +11 lines, -5 lines 0 comments Download
M replicaset/replicaset_test.go View 1 2 9 chunks +12 lines, -9 lines 0 comments Download
M state/api/apiclient.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M utils/apt.go View 1 chunk +1 line, -0 lines 0 comments Download
M worker/peergrouper/desired.go View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M worker/peergrouper/desired_test.go View 1 chunk +1 line, -1 line 0 comments Download
A worker/peergrouper/initiate.go View 1 2 1 chunk +76 lines, -0 lines 0 comments Download
A worker/peergrouper/initiate_test.go View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M worker/singular/mongo_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11
natefinch
Please take a look.
10 years ago (2014-04-11 17:00:52 UTC) #1
jameinel
A quick thought about hard-coded Identifiers. https://codereview.appspot.com/86920043/diff/1/worker/peergrouper/initiate.go File worker/peergrouper/initiate.go (right): https://codereview.appspot.com/86920043/diff/1/worker/peergrouper/initiate.go#newcode67 worker/peergrouper/initiate.go:67: jujuMachineTag: agent.BootstrapMachineId, can ...
10 years ago (2014-04-12 09:57:43 UTC) #2
axw
https://codereview.appspot.com/86920043/diff/1/agent/mongo/mongo.go File agent/mongo/mongo.go (left): https://codereview.appspot.com/86920043/diff/1/agent/mongo/mongo.go#oldcode245 agent/mongo/mongo.go:245: // NOTE: ensure that the right package is installed? ...
10 years ago (2014-04-14 04:50:54 UTC) #3
rog
https://codereview.appspot.com/86920043/diff/1/agent/mongo/mongo.go File agent/mongo/mongo.go (right): https://codereview.appspot.com/86920043/diff/1/agent/mongo/mongo.go#newcode272 agent/mongo/mongo.go:272: cmds := utils.AptGetPreparePackages([]string{"mongodb-server"}, version.Current.Series) On 2014/04/14 04:50:54, axw wrote: ...
10 years ago (2014-04-14 15:10:59 UTC) #4
natefinch
Please take a look. https://codereview.appspot.com/86920043/diff/1/agent/mongo/mongo.go File agent/mongo/mongo.go (left): https://codereview.appspot.com/86920043/diff/1/agent/mongo/mongo.go#oldcode245 agent/mongo/mongo.go:245: // NOTE: ensure that the ...
10 years ago (2014-04-14 15:37:42 UTC) #5
dimitern
Looks solid, and since it's a blocker for HA I'll give it an LGTM, but ...
10 years ago (2014-04-14 16:52:56 UTC) #6
dimitern
Looks solid, and since it's a blocker for HA I'll give it an LGTM, but ...
10 years ago (2014-04-14 16:52:56 UTC) #7
rog
https://codereview.appspot.com/86920043/diff/20001/agent/mongo/mongo.go File agent/mongo/mongo.go (right): https://codereview.appspot.com/86920043/diff/20001/agent/mongo/mongo.go#newcode161 agent/mongo/mongo.go:161: err = ioutil.WriteFile( On 2014/04/14 16:52:57, dimitern wrote: > ...
10 years ago (2014-04-14 19:03:10 UTC) #8
axw
On 2014/04/14 15:37:42, nate.finch wrote: > Please take a look. > > https://codereview.appspot.com/86920043/diff/1/agent/mongo/mongo.go > File ...
10 years ago (2014-04-15 01:39:28 UTC) #9
rog
https://codereview.appspot.com/86920043/diff/20001/agent/mongo/mongo_test.go File agent/mongo/mongo_test.go (right): https://codereview.appspot.com/86920043/diff/20001/agent/mongo/mongo_test.go#newcode305 agent/mongo/mongo_test.go:305: func splitCall(c *gc.C, part string) []string { On 2014/04/14 ...
10 years ago (2014-04-15 15:51:27 UTC) #10
natefinch
10 years ago (2014-04-15 16:02:36 UTC) #11
Please take a look.
Sign in to reply to this message.

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