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

Issue 68990043: System SSH key upgrader (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by wallyworld
Modified:
10 years, 2 months ago
Reviewers:
mp+208277, thumper
Visibility:
Public.

Description

System SSH key upgrader Add upgrader to generate system SSH key. https://code.launchpad.net/~wallyworld/juju-core/system-sshkey-upgrader/+merge/208277 Requires: https://code.launchpad.net/~wallyworld/juju-core/machine-agent-run-upgrades/+merge/208060 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : System SSH key upgrader #

Total comments: 3

Patch Set 3 : System SSH key upgrader #

Patch Set 4 : System SSH key upgrader #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2514 lines, -441 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M agent/agent.go View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M agent/agent_test.go View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M agent/format-1.16.go View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M cmd/juju/destroymachine.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cmd/juju/destroymachine_test.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cmd/juju/destroyservice.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cmd/juju/environment_test.go View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cmd/juju/main_test.go View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/agent_test.go View 1 2 3 5 chunks +18 lines, -16 lines 0 comments Download
M cmd/jujud/bootstrap.go View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M cmd/jujud/machine.go View 1 2 3 10 chunks +115 lines, -20 lines 0 comments Download
M cmd/jujud/machine_test.go View 1 2 3 22 chunks +68 lines, -51 lines 0 comments Download
M cmd/jujud/unit_test.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A cmd/jujud/upgrade_test.go View 1 2 3 1 chunk +100 lines, -0 lines 0 comments Download
M doc/simplestreams-metadata.txt View 1 2 6 chunks +35 lines, -20 lines 0 comments Download
M environs/bootstrap/state.go View 1 2 2 chunks +11 lines, -2 lines 0 comments Download
M environs/bootstrap/state_test.go View 1 2 3 chunks +46 lines, -12 lines 0 comments Download
M environs/config/authkeys.go View 1 2 2 chunks +22 lines, -0 lines 0 comments Download
M environs/config/authkeys_test.go View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M environs/config/config.go View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M environs/config/config_test.go View 1 2 2 chunks +3 lines, -8 lines 0 comments Download
M environs/httpstorage/storage.go View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M environs/simplestreams/simplestreams.go View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M log/syslog/config_test.go View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M log/syslog/testing/syslogconf.go View 1 2 3 2 chunks +33 lines, -28 lines 0 comments Download
M provider/common/bootstrap.go View 1 2 2 chunks +3 lines, -20 lines 0 comments Download
M provider/common/bootstrap_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M provider/ec2/instancetype.go View 1 2 9 chunks +46 lines, -14 lines 0 comments Download
M state/api/apiclient.go View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M state/api/keymanager/client_test.go View 1 2 2 chunks +28 lines, -0 lines 0 comments Download
M state/api/params/internal.go View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M state/apiserver/apiserver.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M state/apiserver/charms.go View 1 2 7 chunks +168 lines, -3 lines 0 comments Download
M state/apiserver/charms_test.go View 1 2 9 chunks +183 lines, -23 lines 0 comments Download
M state/apiserver/keymanager/keymanager.go View 1 2 4 chunks +13 lines, -5 lines 0 comments Download
M state/apiserver/keymanager/keymanager_test.go View 1 2 3 chunks +66 lines, -0 lines 0 comments Download
M testing/mgo.go View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M upgrades/export_test.go View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
D upgrades/rsyslogconf.go View 1 2 3 1 chunk +0 lines, -50 lines 0 comments Download
D upgrades/rsyslogconf_test.go View 1 2 3 1 chunk +0 lines, -72 lines 0 comments Download
M upgrades/steps118.go View 1 2 3 1 chunk +2 lines, -7 lines 0 comments Download
M upgrades/steps118_test.go View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
A upgrades/systemsshkey.go View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
A upgrades/systemsshkey_test.go View 1 2 1 chunk +86 lines, -0 lines 0 comments Download
M upgrades/upgrade.go View 1 2 3 4 chunks +22 lines, -6 lines 0 comments Download
M upgrades/upgrade_test.go View 1 2 3 3 chunks +14 lines, -0 lines 0 comments Download
M utils/voyeur/value.go View 1 2 1 chunk +12 lines, -9 lines 0 comments Download
M utils/voyeur/value_test.go View 1 2 2 chunks +9 lines, -8 lines 0 comments Download
M version/version_test.go View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M worker/peergrouper/desired.go View 1 2 7 chunks +27 lines, -20 lines 0 comments Download
M worker/peergrouper/desired_test.go View 1 2 7 chunks +39 lines, -6 lines 0 comments Download
A worker/peergrouper/mock_test.go View 1 2 1 chunk +450 lines, -0 lines 0 comments Download
A worker/peergrouper/shim.go View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
A worker/peergrouper/worker.go View 1 2 1 chunk +458 lines, -0 lines 0 comments Download
A worker/peergrouper/worker_test.go View 1 2 1 chunk +241 lines, -0 lines 0 comments Download

Messages

Total messages: 5
wallyworld
Please take a look.
10 years, 2 months ago (2014-02-26 05:33:33 UTC) #1
wallyworld
Please take a look.
10 years, 2 months ago (2014-02-26 05:46:57 UTC) #2
thumper
LGTM with a few trivial tests added. https://codereview.appspot.com/68990043/diff/20001/environs/config/authkeys.go File environs/config/authkeys.go (right): https://codereview.appspot.com/68990043/diff/20001/environs/config/authkeys.go#newcode92 environs/config/authkeys.go:92: if a ...
10 years, 2 months ago (2014-02-27 00:36:27 UTC) #3
wallyworld
Please take a look.
10 years, 2 months ago (2014-02-27 03:19:41 UTC) #4
wallyworld
10 years, 2 months ago (2014-02-27 05:36:54 UTC) #5
Please take a look.

https://codereview.appspot.com/68990043/diff/20001/environs/config/authkeys.go
File environs/config/authkeys.go (right):

https://codereview.appspot.com/68990043/diff/20001/environs/config/authkeys.g...
environs/config/authkeys.go:92: if a == "" {
On 2014/02/27 00:36:27, thumper wrote:
> do we have an authkeys_test.go? Would be good to just see a few tests for
this.

Done.
Sign in to reply to this message.

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