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

Issue 6850087: environs/config: make CA cert optional

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by rog
Modified:
11 years, 5 months ago
Reviewers:
mp+135479
Visibility:
Public.

Description

environs/config: make CA cert optional As discussed online. Also make cmd/juju not use juju.Bootstrap, because it's generating a PEM file we can't use. https://code.launchpad.net/~rogpeppe/juju-core/160-config-root-cert-fixed/+merge/135479 Requires: https://code.launchpad.net/~rogpeppe/juju-core/162-config-root-cert-reapply/+merge/135468 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/config: make CA cert optional #

Patch Set 3 : environs/config: make CA cert optional #

Patch Set 4 : environs/config: make CA cert optional #

Total comments: 13

Patch Set 5 : environs/config: make CA cert optional #

Patch Set 6 : environs/config: make CA cert optional #

Patch Set 7 : environs/config: make CA cert optional #

Patch Set 8 : environs/config: make CA cert optional #

Patch Set 9 : environs/config: make CA cert optional #

Patch Set 10 : environs/config: make CA cert optional #

Patch Set 11 : environs/config: make CA cert optional #

Patch Set 12 : environs/config: make CA cert optional #

Total comments: 14

Patch Set 13 : environs/config: make CA cert optional #

Patch Set 14 : environs/config: make CA cert optional #

Patch Set 15 : environs/config: make CA cert optional #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1638 lines, -229 lines) Patch
A [revision details] View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/bootstrap.go View 1 2 3 4 2 chunks +25 lines, -2 lines 0 comments Download
M cmd/juju/bootstrap_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +6 lines, -11 lines 0 comments Download
M cmd/juju/cmd_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +10 lines, -1 line 0 comments Download
M cmd/juju/main_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +42 lines, -16 lines 0 comments Download
M cmd/jujud/bootstrap_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -0 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -1 line 0 comments Download
M environs/config.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -1 line 0 comments Download
M environs/config/authkeys.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +26 lines, -1 line 0 comments Download
M environs/config/config.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +120 lines, -11 lines 0 comments Download
M environs/config/config_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +533 lines, -136 lines 0 comments Download
M environs/config_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +75 lines, -30 lines 0 comments Download
M environs/dummy/config_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +9 lines, -3 lines 0 comments Download
M environs/dummy/environs_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +7 lines, -5 lines 0 comments Download
M environs/ec2/config_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -1 line 0 comments Download
M environs/ec2/live_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M environs/ec2/local_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M environs/open_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -0 lines 0 comments Download
A environs/openstack/config.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +141 lines, -0 lines 0 comments Download
A environs/openstack/config_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +287 lines, -0 lines 0 comments Download
A environs/openstack/export_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +41 lines, -0 lines 0 comments Download
A environs/openstack/local_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +52 lines, -0 lines 0 comments Download
A environs/openstack/provider.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +200 lines, -0 lines 0 comments Download
A environs/openstack/testdata/2011-01-01/meta-data/local-hostname View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
A environs/openstack/testdata/2011-01-01/meta-data/public-hostname View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M environs/tools_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M juju/bootstrap.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M juju/conn_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +10 lines, -6 lines 0 comments Download
M juju/testing/conn.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -0 lines 0 comments Download
M state/state_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +15 lines, -0 lines 0 comments Download
M testing/cert.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M worker/uniter/uniter_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13
rog
Please take a look.
11 years, 5 months ago (2012-11-21 17:40:33 UTC) #1
rog
Please take a look.
11 years, 5 months ago (2012-11-21 17:42:28 UTC) #2
rog
Please take a look.
11 years, 5 months ago (2012-11-21 18:23:37 UTC) #3
TheMue
My understanding of certs in keys isn't very good, so only small formal remarks. https://codereview.appspot.com/6850087/diff/3003/cmd/juju/bootstrap.go ...
11 years, 5 months ago (2012-11-22 11:02:47 UTC) #4
rog
https://codereview.appspot.com/6850087/diff/3003/cmd/juju/bootstrap.go File cmd/juju/bootstrap.go (right): https://codereview.appspot.com/6850087/diff/3003/cmd/juju/bootstrap.go#newcode61 cmd/juju/bootstrap.go:61: `) On 2012/11/22 11:02:47, TheMue wrote: > The other ...
11 years, 5 months ago (2012-11-22 11:08:05 UTC) #5
niemeyer
Feels like the changes to config need a bit more care. https://codereview.appspot.com/6850087/diff/3003/environs/config/authkeys.go File environs/config/authkeys.go (right): ...
11 years, 5 months ago (2012-11-22 16:28:29 UTC) #6
rog
Please take a look. https://codereview.appspot.com/6850087/diff/3003/environs/config/authkeys.go File environs/config/authkeys.go (right): https://codereview.appspot.com/6850087/diff/3003/environs/config/authkeys.go#newcode72 environs/config/authkeys.go:72: if len(certPEM) == 0 { ...
11 years, 5 months ago (2012-11-22 19:07:19 UTC) #7
rog
Please take a look.
11 years, 5 months ago (2012-11-22 21:03:23 UTC) #8
rog
Please take a look.
11 years, 5 months ago (2012-11-23 13:11:43 UTC) #9
niemeyer
https://codereview.appspot.com/6850087/diff/13017/environs/config/config.go File environs/config/config.go (right): https://codereview.appspot.com/6850087/diff/13017/environs/config/config.go#newcode52 environs/config/config.go:52: // provided as nil values. // .. nil values ...
11 years, 5 months ago (2012-11-23 14:16:21 UTC) #10
rog
Please take a look. https://codereview.appspot.com/6850087/diff/13017/environs/config/config.go File environs/config/config.go (right): https://codereview.appspot.com/6850087/diff/13017/environs/config/config.go#newcode52 environs/config/config.go:52: // provided as nil values. ...
11 years, 5 months ago (2012-11-23 14:43:58 UTC) #11
niemeyer
LGTM
11 years, 5 months ago (2012-11-23 15:29:16 UTC) #12
rog
11 years, 5 months ago (2012-11-23 16:10:27 UTC) #13
*** Submitted:

environs/config: make CA cert optional

As discussed online.
Also make cmd/juju not use juju.Bootstrap, because
it's generating a PEM file we can't use.

R=TheMue, niemeyer
CC=
https://codereview.appspot.com/6850087
Sign in to reply to this message.

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