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

Issue 9606046: Support public bucket url in keystone catalog (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by wallyworld
Modified:
10 years, 11 months ago
Reviewers:
mp+164838, dimitern, jameinel
Visibility:
Public.

Description

Support public bucket url in keystone catalog To avoid the need for each and every user of an openstack deployment to have to know the public bucket url and configure their own local system with it, this branch supports reading the public bucket url from the keystone catalog if it is present. Some refactoring was required to how the environ's PublicStorage instance was created, since now authenticated access to the server is required in order to read the keystone catalog. https://code.launchpad.net/~wallyworld/juju-core/use-juju-tools-endpoint/+merge/164838 Requires: https://code.launchpad.net/~wallyworld/juju-core/remove-obsolete-default-image-id/+merge/164669 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 5

Patch Set 2 : Support public bucket url in keystone catalog #

Total comments: 3

Patch Set 3 : Support public bucket url in keystone catalog #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -36 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M environs/openstack/export_test.go View 1 chunk +4 lines, -0 lines 0 comments Download
M environs/openstack/local_test.go View 1 2 chunks +44 lines, -0 lines 0 comments Download
M environs/openstack/provider.go View 1 2 6 chunks +63 lines, -36 lines 0 comments Download

Messages

Total messages: 7
wallyworld
Please take a look.
10 years, 11 months ago (2013-05-21 05:38:57 UTC) #1
dimitern
LGTM modulo the below. https://codereview.appspot.com/9606046/diff/1/environs/openstack/local_test.go File environs/openstack/local_test.go (right): https://codereview.appspot.com/9606046/diff/1/environs/openstack/local_test.go#newcode460 environs/openstack/local_test.go:460: config["public-bucket-url"] = "http://127.0.0.1/public-bucket" please set ...
10 years, 11 months ago (2013-05-21 08:21:48 UTC) #2
wallyworld
Please take a look.
10 years, 11 months ago (2013-05-22 04:43:27 UTC) #3
wallyworld
https://codereview.appspot.com/9606046/diff/1/environs/openstack/local_test.go File environs/openstack/local_test.go (right): https://codereview.appspot.com/9606046/diff/1/environs/openstack/local_test.go#newcode460 environs/openstack/local_test.go:460: config["public-bucket-url"] = "http://127.0.0.1/public-bucket" On 2013/05/21 08:21:48, dimitern wrote: > ...
10 years, 11 months ago (2013-05-22 07:25:06 UTC) #4
jameinel
I think there is a logic error in if publicBucketURL == "" || err != ...
10 years, 11 months ago (2013-05-22 11:09:29 UTC) #5
wallyworld
https://codereview.appspot.com/9606046/diff/5001/environs/openstack/provider.go File environs/openstack/provider.go (right): https://codereview.appspot.com/9606046/diff/5001/environs/openstack/provider.go#newcode440 environs/openstack/provider.go:440: if publicBucketURL == "" || err != nil { ...
10 years, 11 months ago (2013-05-22 23:37:49 UTC) #6
wallyworld
10 years, 11 months ago (2013-05-23 00:05:39 UTC) #7
*** Submitted:

Support public bucket url in keystone catalog

To avoid the need for each and every user of an openstack deployment to have
to know the public bucket url and configure their own local system with it, this
branch supports reading the public bucket url from the keystone catalog if it
is present. Some refactoring was required to how the environ's PublicStorage 
instance was created, since now authenticated access to the server is required
in order to read the keystone catalog.

R=dimitern, jameinel
CC=
https://codereview.appspot.com/9606046
Sign in to reply to this message.

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