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

Issue 13255051: Introduce the null provider

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by axw
Modified:
10 years, 7 months ago
Reviewers:
mp+186954, axw1, fwereade
Visibility:
Public.

Description

Introduce the null provider The null provider is a provider which does, essentially, nothing. Instances cannot be provisioned automatically; they must be manually provisioned via "add-machine ssh:...". To bootstrap the environment, you name the bootstrap node, which must be an existing Ubuntu host, and it will be "manually bootstrapped" via SSH. This procedure is essentially the same as manual provisioning. Storage is managed by the bootstrap node. TODO: storage is currently unauthenticated, and the world can write to it. I will address this next. https://code.launchpad.net/~axwalk/juju-core/null-provider-take3/+merge/186954 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 27

Patch Set 2 : Introduce the null provider #

Total comments: 9

Patch Set 3 : Introduce the null provider #

Unified diffs Side-by-side diffs Delta from patch set Stats (+736 lines, -12 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/machine.go View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M environs/cloudinit/cloudinit.go View 1 2 4 chunks +12 lines, -2 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 1 2 6 chunks +60 lines, -4 lines 0 comments Download
M environs/manual/agent.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/manual/bootstrap.go View 1 4 chunks +9 lines, -4 lines 0 comments Download
M environs/manual/bootstrap_test.go View 1 2 chunks +7 lines, -0 lines 0 comments Download
M provider/all/all.go View 1 chunk +1 line, -0 lines 0 comments Download
A provider/null/config.go View 1 1 chunk +70 lines, -0 lines 0 comments Download
A provider/null/config_test.go View 1 1 chunk +124 lines, -0 lines 0 comments Download
A provider/null/environ.go View 1 2 1 chunk +173 lines, -0 lines 0 comments Download
A provider/null/environ_test.go View 1 2 1 chunk +81 lines, -0 lines 0 comments Download
A provider/null/instance.go View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
A provider/null/provider.go View 1 1 chunk +121 lines, -0 lines 0 comments Download

Messages

Total messages: 10
axw
Please take a look.
10 years, 7 months ago (2013-09-23 02:04:48 UTC) #1
fwereade
OK, I am torn. There's some really great stuff here, and then there are some ...
10 years, 7 months ago (2013-09-23 16:32:25 UTC) #2
axw1
https://codereview.appspot.com/13255051/diff/1/cmd/juju/bootstrap.go File cmd/juju/bootstrap.go (left): https://codereview.appspot.com/13255051/diff/1/cmd/juju/bootstrap.go#oldcode90 cmd/juju/bootstrap.go:90: c.UploadTools = true On 2013/09/23 16:32:25, fwereade wrote: > ...
10 years, 7 months ago (2013-09-24 03:05:56 UTC) #3
axw
Please take a look.
10 years, 7 months ago (2013-09-24 04:01:46 UTC) #4
fwereade
We need to do more work wrt "shutting down" manually provisioned instances -- ie removing ...
10 years, 7 months ago (2013-09-26 08:03:41 UTC) #5
axw1
https://codereview.appspot.com/13255051/diff/11001/cmd/jujud/machine.go File cmd/jujud/machine.go (right): https://codereview.appspot.com/13255051/diff/11001/cmd/jujud/machine.go#newcode259 cmd/jujud/machine.go:259: // are capable of managing ports at a global ...
10 years, 7 months ago (2013-09-26 08:23:00 UTC) #6
fwereade
On 2013/09/26 08:23:00, axw1 wrote: > > 1) destroy-environment should probably involve setting every machine ...
10 years, 7 months ago (2013-09-26 08:49:56 UTC) #7
axw1
https://codereview.appspot.com/13255051/diff/11001/provider/null/environ.go File provider/null/environ.go (right): https://codereview.appspot.com/13255051/diff/11001/provider/null/environ.go#newcode142 provider/null/environ.go:142: return fmt.Errorf("null provider cannot destroy instances: %v", insts) On ...
10 years, 7 months ago (2013-09-26 08:54:27 UTC) #8
axw
Please take a look.
10 years, 7 months ago (2013-09-26 09:09:39 UTC) #9
fwereade
10 years, 7 months ago (2013-09-26 09:20:17 UTC) #10
LGTM then, destroying properly can come in followups.
Sign in to reply to this message.

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