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

Issue 7809043: Remove env cert creation from environs.Bootstrap

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by thumper
Modified:
11 years, 1 month ago
Reviewers:
dimitern, dave, mp+153279
Visibility:
Public.

Description

Remove env cert creation from environs.Bootstrap The generation of the environment certificates is moved to the Bootstrap command. Tests updated. https://code.launchpad.net/~thumper/juju-core/move-cert-gen/+merge/153279 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 12

Patch Set 2 : Remove env cert creation from environs.Bootstrap #

Patch Set 3 : Remove env cert creation from environs.Bootstrap #

Total comments: 15

Patch Set 4 : Remove env cert creation from environs.Bootstrap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -207 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 1 chunk +0 lines, -4 lines 0 comments Download
M cmd/juju/bootstrap.go View 1 2 3 1 chunk +18 lines, -13 lines 0 comments Download
M cmd/juju/bootstrap_test.go View 1 2 3 2 chunks +31 lines, -15 lines 0 comments Download
M cmd/juju/cmd_test.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M environs/bootstrap.go View 1 2 3 3 chunks +5 lines, -40 lines 0 comments Download
M environs/bootstrap_test.go View 1 4 chunks +34 lines, -93 lines 0 comments Download
A environs/cert.go View 1 2 3 1 chunk +73 lines, -0 lines 0 comments Download
A environs/cert_internal_test.go View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A environs/cert_test.go View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download
M environs/ec2/local_test.go View 1 chunk +1 line, -5 lines 0 comments Download
M environs/jujutest/livetests.go View 3 chunks +3 lines, -7 lines 0 comments Download
M environs/jujutest/tests.go View 3 chunks +6 lines, -6 lines 0 comments Download
M environs/openstack/local_test.go View 4 chunks +3 lines, -7 lines 0 comments Download
M juju/apiconn_test.go View 1 chunk +1 line, -1 line 0 comments Download
M juju/conn_test.go View 7 chunks +6 lines, -10 lines 0 comments Download
M juju/testing/conn.go View 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 18
thumper
Please take a look.
11 years, 1 month ago (2013-03-14 03:05:44 UTC) #1
dimitern
LGTM with some trivials. https://codereview.appspot.com/7809043/diff/1/cmd/builddb/main.go File cmd/builddb/main.go (right): https://codereview.appspot.com/7809043/diff/1/cmd/builddb/main.go#newcode31 cmd/builddb/main.go:31: // TODO: what about environments ...
11 years, 1 month ago (2013-03-14 08:43:42 UTC) #2
rog
this is reasonable, but please leave the certificate generation logic inside environs, or at least ...
11 years, 1 month ago (2013-03-14 11:46:52 UTC) #3
thumper
Please take a look.
11 years, 1 month ago (2013-03-15 00:28:20 UTC) #4
thumper
Just going to push up the latest few changes. https://codereview.appspot.com/7809043/diff/1/cmd/juju/bootstrap.go File cmd/juju/bootstrap.go (right): https://codereview.appspot.com/7809043/diff/1/cmd/juju/bootstrap.go#newcode78 cmd/juju/bootstrap.go:78: ...
11 years, 1 month ago (2013-03-15 01:07:01 UTC) #5
thumper
Please take a look.
11 years, 1 month ago (2013-03-15 01:08:36 UTC) #6
dave_cheney.net
LGTM. Have you run the live tests ? did they pass ? https://codereview.appspot.com/7809043/diff/13001/environs/bootstrap.go File environs/bootstrap.go ...
11 years, 1 month ago (2013-03-15 04:42:37 UTC) #7
rog
much better, but not there quite yet. mostly trivial remarks, but i think that EnsureCertificate ...
11 years, 1 month ago (2013-03-15 09:31:23 UTC) #8
jameinel
https://codereview.appspot.com/7809043/diff/13001/environs/bootstrap.go File environs/bootstrap.go (right): https://codereview.appspot.com/7809043/diff/13001/environs/bootstrap.go#newcode22 environs/bootstrap.go:22: if !hasCACert { When I asked that question in ...
11 years, 1 month ago (2013-03-17 11:49:23 UTC) #9
rog
https://codereview.appspot.com/7809043/diff/13001/environs/cert.go File environs/cert.go (right): https://codereview.appspot.com/7809043/diff/13001/environs/cert.go#newcode56 environs/cert.go:56: func EnsureCertificate(environ Environ) (CreatedCert, error) { On 2013/03/17 11:49:23, ...
11 years, 1 month ago (2013-03-17 18:49:48 UTC) #10
thumper
message: On 2013/03/15 09:31:23, rog wrote: > https://codereview.appspot.com/7809043/diff/13001/environs/cert.go > File environs/cert.go (right): > > https://codereview.appspot.com/7809043/diff/13001/environs/cert.go#newcode56 ...
11 years, 1 month ago (2013-03-18 01:34:28 UTC) #11
rog
On 2013/03/18 01:34:28, thumper wrote: > message: On 2013/03/15 09:31:23, rog wrote: > > https://codereview.appspot.com/7809043/diff/13001/environs/cert.go ...
11 years, 1 month ago (2013-03-18 09:23:35 UTC) #12
niemeyer
On Sun, Mar 17, 2013 at 10:37 PM, Tim Penhey <tim.penhey@canonical.com> wrote: > But don't ...
11 years, 1 month ago (2013-03-18 13:22:41 UTC) #13
fwereade
Reasonable points all round; all contributions appreciated. Tim, I think you can maintain the structure ...
11 years, 1 month ago (2013-03-18 18:18:37 UTC) #14
thumper
On 19/03/13 02:22, n13m3y3r@gmail.com wrote: > On Sun, Mar 17, 2013 at 10:37 PM, Tim ...
11 years, 1 month ago (2013-03-18 20:59:06 UTC) #15
thumper
*** Submitted: Remove env cert creation from environs.Bootstrap The generation of the environment certificates is ...
11 years, 1 month ago (2013-03-18 23:16:23 UTC) #16
thumper
On 19/03/13 12:16, tim.penhey@canonical.com wrote: > *** Submitted: > > Remove env cert creation from ...
11 years, 1 month ago (2013-03-18 23:19:38 UTC) #17
dave_cheney.net
11 years, 1 month ago (2013-03-18 23:51:59 UTC) #18
Dunno, i can't see a pattern from other reviews.
Sign in to reply to this message.

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