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

Issue 7396055: environs: change StartInstance

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by fwereade
Modified:
11 years, 2 months ago
Reviewers:
mp+150198
Visibility:
Public.

Description

environs: change StartInstance Dropped: * tools, because it's up to the environ to pick the correct tools * stateinfo/apiinfo, because the environ already knows them Added: * series, because the environ needs to know this * agent password, because that's the one relevant bit of the supplied info Also put the params into a struct, because I know for sure we'll be adding a Constraints param and I have no interest in rewriting all these calls again when the vast majority of them are not remotely relevant to constraints; and I'm not *totally* certain that that will be the last param, anyway. In making this work, any machine started by the provisioner/firewaller tests had to be started with a series with available tools on the dummy provider; ie, version.Current.Series. Similarly, the various environs tests -- apart from the one testing bootstrap with non-native default-series -- all demand the current version's series because those tools are always set up to be available. Other than this, I have tried to be minimally invasive; this has somewhat harmed the clarity of the intersection between Bootstrap and StartInstance in ec2 and openstack, but that's due a rework for constraints, anyway. https://code.launchpad.net/~fwereade/juju-core/environs-unscrew-startinstance/+merge/150198 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -186 lines) Patch
[revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
cmd/juju/ssh_test.go View 2 chunks +3 lines, -2 lines 0 comments Download
cmd/juju/status_test.go View 3 chunks +4 lines, -4 lines 0 comments Download
environs/dummy/environs.go View 3 chunks +21 lines, -28 lines 0 comments Download
environs/ec2/ec2.go View 3 chunks +17 lines, -7 lines 0 comments Download
environs/ec2/live_test.go View 7 chunks +30 lines, -10 lines 0 comments Download
environs/ec2/local_test.go View 1 chunk +5 lines, -1 line 0 comments Download
environs/interface.go View 2 chunks +10 lines, -10 lines 0 comments Download
environs/jujutest/livetests.go View 9 chunks +38 lines, -33 lines 0 comments Download
environs/jujutest/tests.go View 3 chunks +40 lines, -18 lines 0 comments Download
environs/openstack/local_test.go View 2 chunks +11 lines, -3 lines 0 comments Download
environs/openstack/provider.go View 2 chunks +17 lines, -7 lines 0 comments Download
juju/testing/conn.go View 1 chunk +6 lines, -22 lines 0 comments Download
state/state.go View 1 chunk +1 line, -1 line 0 comments Download
worker/firewaller/firewaller_test.go View 5 chunks +5 lines, -4 lines 0 comments Download
worker/provisioner/provisioner.go View 2 chunks +5 lines, -12 lines 0 comments Download
worker/provisioner/provisioner_test.go View 13 chunks +23 lines, -24 lines 0 comments Download

Messages

Total messages: 1
fwereade
11 years, 2 months ago (2013-02-23 18:00:09 UTC) #1
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