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

Issue 11333043: Enable the local provider.

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

Description

Enable the local provider. This branch changes how the local storage is handled. It really wasn't possible to have the client keep serving the storage on dynamic ports and expect other running services to work. Also we need something always acting as the storage. After discussion with William last night, we agreed that this should be a worker in the machine agent. https://code.launchpad.net/~thumper/juju-core/local-provider/+merge/174930 Requires: https://code.launchpad.net/~thumper/juju-core/selectively-install-lxc/+merge/174928 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 16

Patch Set 2 : Enable the local provider. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -58 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/machine.go View 1 4 chunks +20 lines, -5 lines 0 comments Download
M environs/all/all.go View 1 chunk +1 line, -0 lines 0 comments Download
M environs/local/config.go View 1 2 chunks +47 lines, -7 lines 0 comments Download
M environs/local/environ.go View 1 13 chunks +148 lines, -43 lines 0 comments Download
M environs/local/environprovider.go View 1 4 chunks +20 lines, -3 lines 0 comments Download
A environs/local/storage/worker.go View 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 7
thumper
Please take a look.
10 years, 9 months ago (2013-07-16 06:34:52 UTC) #1
mue
LGTM, great work, but some comments. https://codereview.appspot.com/11333043/diff/1/cmd/jujud/machine.go File cmd/jujud/machine.go (right): https://codereview.appspot.com/11333043/diff/1/cmd/jujud/machine.go#newcode189 cmd/jujud/machine.go:189: if providerType != ...
10 years, 9 months ago (2013-07-16 10:16:35 UTC) #2
gz
Unless I'm missing something, having both config and JUJU_ envvars appears to be redundant. I ...
10 years, 9 months ago (2013-07-16 10:44:18 UTC) #3
thumper
Please take a look. https://codereview.appspot.com/11333043/diff/1/cmd/jujud/machine.go File cmd/jujud/machine.go (right): https://codereview.appspot.com/11333043/diff/1/cmd/jujud/machine.go#newcode189 cmd/jujud/machine.go:189: if providerType != "local" && ...
10 years, 9 months ago (2013-07-17 03:10:11 UTC) #4
thumper
On 2013/07/16 10:44:18, gz wrote: > Unless I'm missing something, having both config and JUJU_ ...
10 years, 9 months ago (2013-07-17 03:40:42 UTC) #5
wallyworld
I shared Martin's concerns about the env variables. But we could land this and fix ...
10 years, 9 months ago (2013-07-17 03:40:55 UTC) #6
thumper
10 years, 9 months ago (2013-07-17 03:45:05 UTC) #7
https://codereview.appspot.com/11333043/diff/1/environs/local/environ.go
File environs/local/environ.go (right):

https://codereview.appspot.com/11333043/diff/1/environs/local/environ.go#newc...
environs/local/environ.go:341: return err
On 2013/07/17 03:40:55, wallyworld wrote:
> Should we try and do as much removal as we can here even if something errors?

While I don't expect errors here, it seems weird to try to special case it.
Sign in to reply to this message.

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