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

Issue 6843112: environs/ec2: specify public-bucket-region (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by dave
Modified:
13 years, 2 months ago
Reviewers:
mp+136077, jameinel
Visibility:
Public.

Description

environs/ec2: specify public-bucket-region Fixes LP #1083017 Our public bucket, juju-dist, lives in the us-east-1 region and can only be accessed via that endpoint. If you attempt to do so via another endpoint you get an unhelpful 301 error with an xml blob telling you how to request the bucket. The solution is to add a configuration option, with sensible default, to ec2/config.go to specify the region of the public bucket independantly of the private bucket. https://code.launchpad.net/~dave-cheney/juju-core/052-environs-ec2-always-request-public-tools-from-us-east-1/+merge/136077 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/ec2: specify public-bucket-region #

Total comments: 1

Patch Set 3 : environs/ec2: specify public-bucket-region #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -23 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M environs/ec2/config.go View 3 chunks +18 lines, -9 lines 0 comments Download
M environs/ec2/ec2.go View 2 chunks +2 lines, -1 line 0 comments Download
M environs/ec2/local_test.go View 1 2 1 chunk +12 lines, -11 lines 0 comments Download
M juju/bootstrap.go View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8
dave_cheney.net
Please take a look.
13 years, 3 months ago (2012-11-26 02:20:01 UTC) #1
dave_cheney.net
Please take a look.
13 years, 3 months ago (2012-11-26 02:22:45 UTC) #2
jameinel
Seems ok. I'm not sure if having a configurable "grab the tools from this region" ...
13 years, 3 months ago (2012-11-26 05:18:08 UTC) #3
dave_cheney.net
Providing tools in all regions means reserving buckets in a regions. That might be a ...
13 years, 3 months ago (2012-11-26 05:20:00 UTC) #4
dave_cheney.net
Please take a look.
13 years, 3 months ago (2012-11-26 09:43:28 UTC) #5
dave_cheney.net
On 2012/11/26 09:43:28, dfc wrote: > Please take a look. Requires https://codereview.appspot.com/6851081/ so tests pass ...
13 years, 3 months ago (2012-11-26 09:44:33 UTC) #6
dave_cheney.net
Ping ... seeking a second reviewer.
13 years, 2 months ago (2012-11-26 22:55:36 UTC) #7
dave_cheney.net
13 years, 2 months ago (2012-11-27 00:08:39 UTC) #8
*** abandoned *** 

due to prereq change, new proposal is here
https://codereview.appspot.com/6854098
Sign in to reply to this message.

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