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

Issue 61480043: provider/manual: set storage in SetConfig

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

Description

provider/manual: set storage in SetConfig We currently rely on EnableBootstrapStorage to specify the storage mechanism to use for bootstrap and sync-tools. This is insufficient in practice, causing panics such as those in lp:1262764. Instead, we inject a boolean attribute into the environment config that is stored in state; this attribute is false in the .jenv file, and true in state. We use its value to decide whether to use sshstorage (external) or httpstorage (internal). A followup will eliminate BootstrapStorager. Fixes lp:1262764 https://code.launchpad.net/~axwalk/juju-core/lp1262764-manual-storage-setconfig/+merge/205530 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : provider/manual: set storage in SetConfig #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -66 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M provider/manual/config.go View 1 2 chunks +10 lines, -0 lines 0 comments Download
M provider/manual/config_test.go View 1 3 chunks +17 lines, -0 lines 0 comments Download
M provider/manual/environ.go View 1 5 chunks +46 lines, -41 lines 0 comments Download
M provider/manual/environ_test.go View 3 chunks +8 lines, -23 lines 0 comments Download
M provider/manual/export_test.go View 1 chunk +1 line, -0 lines 0 comments Download
M provider/manual/provider.go View 1 4 chunks +14 lines, -2 lines 0 comments Download
M provider/manual/provider_test.go View 1 3 chunks +22 lines, -0 lines 0 comments Download
M provider/manual/suite_test.go View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 5
axw
Please take a look.
10 years, 2 months ago (2014-02-10 07:52:14 UTC) #1
dimitern
I'm not so sure about the flag name vs. what's its meaning. See below. Other ...
10 years, 2 months ago (2014-02-10 09:28:06 UTC) #2
axw
On 2014/02/10 09:28:06, dimitern wrote: > I'm not so sure about the flag name vs. ...
10 years, 2 months ago (2014-02-10 09:34:36 UTC) #3
axw
Please take a look.
10 years, 2 months ago (2014-02-10 11:59:04 UTC) #4
dimitern
10 years, 2 months ago (2014-02-10 12:15:47 UTC) #5
Thanks! LGTM.
Sign in to reply to this message.

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