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

Issue 13573046: environs: make Prepare create config info

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by rog
Modified:
10 years, 7 months ago
Reviewers:
mue, gz, mp+187250, fwereade, natefinch
Visibility:
Public.

Description

environs: make Prepare create config info This is the next step on the path to storing environment info at prepare time. We don't actually write any information to the configuration yet. https://code.launchpad.net/~rogpeppe/juju-core/403-prepare-createinfo/+merge/187250 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs: make Prepare create config info #

Patch Set 3 : environs: make Prepare create config info #

Total comments: 10

Patch Set 4 : environs: make Prepare create config info #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -86 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/bootstrap.go View 2 chunks +6 lines, -3 lines 0 comments Download
M cmd/juju/bootstrap_test.go View 3 chunks +5 lines, -2 lines 0 comments Download
M cmd/juju/cmd_test.go View 1 2 3 8 chunks +49 lines, -7 lines 0 comments Download
M cmd/juju/destroyenvironment.go View 3 chunks +10 lines, -2 lines 0 comments Download
M cmd/juju/synctools.go View 2 chunks +6 lines, -1 line 0 comments Download
M cmd/plugins/juju-metadata/toolsmetadata_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/bootstrap/bootstrap_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/cert_internal_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/cert_test.go View 4 chunks +4 lines, -3 lines 0 comments Download
M environs/configstore/disk.go View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
M environs/emptystorage_test.go View 3 chunks +3 lines, -2 lines 0 comments Download
M environs/imagemetadata/urls_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/jujutest/livetests.go View 7 chunks +25 lines, -19 lines 0 comments Download
M environs/jujutest/tests.go View 5 chunks +10 lines, -2 lines 0 comments Download
M environs/open.go View 2 chunks +35 lines, -5 lines 0 comments Download
M environs/open_test.go View 8 chunks +24 lines, -13 lines 0 comments Download
M environs/storage/storage_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/sync/sync_test.go View 3 chunks +3 lines, -2 lines 0 comments Download
M environs/tools/storage_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/tools/tools_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/tools/urls_test.go View 2 chunks +2 lines, -1 line 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 +8 lines, -7 lines 0 comments Download
M juju/testing/conn.go View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M provider/dummy/config_test.go View 3 chunks +3 lines, -2 lines 0 comments Download
M provider/ec2/local_test.go View 2 chunks +2 lines, -1 line 0 comments Download
M provider/openstack/local_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
rog
Please take a look.
10 years, 7 months ago (2013-09-24 14:45:05 UTC) #1
mue
LGTM
10 years, 7 months ago (2013-09-24 15:04:25 UTC) #2
gz
LGTM. https://codereview.appspot.com/13573046/diff/5001/cmd/juju/cmd_test.go File cmd/juju/cmd_test.go (right): https://codereview.appspot.com/13573046/diff/5001/cmd/juju/cmd_test.go#newcode182 cmd/juju/cmd_test.go:182: func (*CmdSuite) TestDestroyEnvironmentCommandConfirmation(c *gc.C) { This is one ...
10 years, 7 months ago (2013-09-24 15:07:23 UTC) #3
rog
Please take a look. https://codereview.appspot.com/13573046/diff/5001/environs/jujutest/livetests.go File environs/jujutest/livetests.go (left): https://codereview.appspot.com/13573046/diff/5001/environs/jujutest/livetests.go#oldcode880 environs/jujutest/livetests.go:880: // already bootstrapped. On 2013/09/24 ...
10 years, 7 months ago (2013-09-24 16:04:03 UTC) #4
fwereade
This is awesome, LGTM. https://codereview.appspot.com/13573046/diff/5001/environs/open.go File environs/open.go (right): https://codereview.appspot.com/13573046/diff/5001/environs/open.go#newcode88 environs/open.go:88: return nil, fmt.Errorf("found uninitialized environment ...
10 years, 7 months ago (2013-09-24 16:59:11 UTC) #5
natefinch
LGTM with a couple small tweaks recommended. https://codereview.appspot.com/13573046/diff/5001/environs/open.go File environs/open.go (right): https://codereview.appspot.com/13573046/diff/5001/environs/open.go#newcode81 environs/open.go:81: if err ...
10 years, 7 months ago (2013-09-24 19:29:01 UTC) #6
rog
10 years, 7 months ago (2013-09-25 09:10:29 UTC) #7
forgot to publish this

https://codereview.appspot.com/13573046/diff/5001/environs/open.go
File environs/open.go (right):

https://codereview.appspot.com/13573046/diff/5001/environs/open.go#newcode88
environs/open.go:88: return nil, fmt.Errorf("found uninitialized environment
info for %q; environment preparation probably in progress or interrupted",
config.Name())
On 2013/09/24 16:59:11, fwereade wrote:
> `juju destroy-environment` will resolve this situation, right?

yes.
Sign in to reply to this message.

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