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

Issue 13763044: Deprecate public-bucket-url (Closed)

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

Description

Deprecate public-bucket-url public-bucket-url is deprecated in favour of using tools-url and image-metadata-url. Bootstrapping with configs which have this setting specified will print a deprecation warning and set the tools-url to the expected value. Canonistack no longer needs public-bucket-url at all because a keystone endpoint is defined. For HP Cloud, the next branch will include a lookup for the correct tools url so public bucket is not needed there either. https://code.launchpad.net/~wallyworld/juju-core/deprecate-public-bucket-url/+merge/186691 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 7

Patch Set 2 : Deprecate public-bucket-url #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -217 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/help_topics.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/jujutest/livetests.go View 2 chunks +2 lines, -3 lines 0 comments Download
M environs/testing/tools.go View 1 2 chunks +54 lines, -0 lines 0 comments Download
M environs/tools/tools_test.go View 1 2 chunks +5 lines, -4 lines 0 comments Download
M provider/openstack/config.go View 4 chunks +46 lines, -35 lines 0 comments Download
M provider/openstack/config_test.go View 5 chunks +13 lines, -13 lines 0 comments Download
M provider/openstack/export_test.go View 3 chunks +14 lines, -21 lines 0 comments Download
M provider/openstack/live_test.go View 3 chunks +13 lines, -16 lines 0 comments Download
M provider/openstack/local_test.go View 8 chunks +30 lines, -60 lines 0 comments Download
M provider/openstack/provider.go View 6 chunks +13 lines, -64 lines 0 comments Download

Messages

Total messages: 4
wallyworld
Please take a look.
10 years, 7 months ago (2013-09-19 23:36:22 UTC) #1
thumper
https://codereview.appspot.com/13763044/diff/1/environs/jujutest/livetests.go File environs/jujutest/livetests.go (right): https://codereview.appspot.com/13763044/diff/1/environs/jujutest/livetests.go#newcode501 environs/jujutest/livetests.go:501: err := stor.Put("bootstrap-verify", contentReader, Don't we have a helper ...
10 years, 7 months ago (2013-09-20 01:55:39 UTC) #2
wallyworld
Please take a look. https://codereview.appspot.com/13763044/diff/1/environs/jujutest/livetests.go File environs/jujutest/livetests.go (right): https://codereview.appspot.com/13763044/diff/1/environs/jujutest/livetests.go#newcode501 environs/jujutest/livetests.go:501: err := stor.Put("bootstrap-verify", contentReader, On ...
10 years, 7 months ago (2013-09-20 02:06:38 UTC) #3
thumper
10 years, 7 months ago (2013-09-20 03:24:22 UTC) #4
On 2013/09/20 02:06:38, wallyworld wrote:
> Please take a look.
> 
> https://codereview.appspot.com/13763044/diff/1/environs/jujutest/livetests.go
> File environs/jujutest/livetests.go (right):
> 
>
https://codereview.appspot.com/13763044/diff/1/environs/jujutest/livetests.go...
> environs/jujutest/livetests.go:501: err := stor.Put("bootstrap-verify",
> contentReader,
> On 2013/09/20 01:55:40, thumper wrote:
> > Don't we have a helper method in the bootstrap code that does this?  Just
> > wondering.
> 
> No idea. I was just drive by fixing a variable name in existing code.
> 
> https://codereview.appspot.com/13763044/diff/1/environs/testing/tools.go
> File environs/testing/tools.go (right):
> 
>
https://codereview.appspot.com/13763044/diff/1/environs/testing/tools.go#newc...
> environs/testing/tools.go:74: path := filepath.Join("tools", object.path)
> On 2013/09/20 01:55:40, thumper wrote:
> > We've recently been bitten by using filepath over path.  If the path is for
a
> > URL, then we should always be using path.Join.
> 
> Done.
> 
> https://codereview.appspot.com/13763044/diff/1/provider/openstack/provider.go
> File provider/openstack/provider.go (right):
> 
>
https://codereview.appspot.com/13763044/diff/1/provider/openstack/provider.go...
> provider/openstack/provider.go:106: tools-url:
>
https://region-a.geo-1.objects.hpcloudsvc.com:443/v1/60502529753910/juju-dist...
> On 2013/09/20 01:55:40, thumper wrote:
> > Why add :443 here?
> 
> What was there didn't work for some reason - I tested it. I used the HP Cloud
> console to get the correct URL and copied it in here.

LGTM
Sign in to reply to this message.

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