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

Issue 83270045: Disable --keyFile in mongo upstart config

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

Description

Disable --keyFile in mongo upstart config We can't enable this yet, because shared-secret isn't written until after Mongo is started. This will change when EnsureMongoServer is landed. (FWIW I did test this with local, and it worked. I don't yet understand why - it shouldn't be any different to cloud providers. I suspect there's a race here with upstart restarting Mongo, and the machine agnet writing the shared-secret.) Fixes lp:1300889 https://code.launchpad.net/~axwalk/juju-core/lp1300889-disable-mongo-keyfile/+merge/213786 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Disable --keyFile in mongo upstart config #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M agent/mongo/mongo.go View 1 2 chunks +5 lines, -4 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4
axw
Please take a look.
10 years ago (2014-04-02 09:24:13 UTC) #1
rog
On 2014/04/02 09:24:13, axw wrote: > Please take a look. LGTM
10 years ago (2014-04-02 09:59:25 UTC) #2
fwereade
Add a matching comment for the commented `keyFile :=` line and LGTM. (I don't really ...
10 years ago (2014-04-02 10:01:43 UTC) #3
axw
10 years ago (2014-04-02 10:15:32 UTC) #4
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