Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Conversation

@chuegle
Copy link

@chuegle chuegle commented Nov 5, 2014

Fixes #674 #661 and other eu-central-1 related issues.

@dmp42
Copy link
Contributor

dmp42 commented Nov 5, 2014

LGTM

@stevvooe very interesting to see the current issues with boto - goamz for next-gen (or whatever dep lib we pick does need to be up for the game there)

@chuegle thanks a lot!

dmp42 added a commit that referenced this pull request Nov 5, 2014
Changes to enable eu-central-1.
@dmp42 dmp42 merged commit 03f5dd3 into docker-archive:master Nov 5, 2014
@schmitch
Copy link
Contributor

schmitch commented Nov 6, 2014

Tim Nolet you need to add [s3] use-sigv4 = True to boto.cfg currently there
is still an open issue #675

2014-11-06 22:44 GMT+01:00 Tim Nolet notifications@github.com:

Hi @dmp42 https://github.com/dmp42

just trying this out now with the latest build....but still a nogo on
using Frankfurt based S3 buckets. Other regions work fine. I build from the
master branch this afternoon.


Reply to this email directly or view it on GitHub
#678 (comment)
.

@dmp42 dmp42 added this to the 0.9 milestone Nov 6, 2014
@chuegle
Copy link
Author

chuegle commented Nov 7, 2014

@c-schmitt The 0.9.0 release can access eu-central-1 without having to specify use-sigv4 at all.
However, it looks like the docker repo has yet to add 0.9.0 and is still on 0.8.1.

Building should be pretty easy:

git clone https://github.com/docker/docker-registry
cd docker-registry
docker build -t registry .

should do it. You can then run with a S3 bucket from eu-central-1 w/o any extra configuration.

docker run --rm -e AWS_BUCKET=... -e AWS_KEY=... -e AWS_SECRET=... \
 -e SETTINGS_FLAVOR=s3 -p 5000:5000 -e AWS_REGION=eu-central-1 \
 -e SEARCH_BACKEND=sqlalchemy -e GUNICORN_WORKERS=1 registry

was all I needed to run it successfully for testing purposes.

@tnolet
Copy link

tnolet commented Nov 7, 2014

@chuegle @c-schmitt Thanks guys. I figured it out in the end reading through the issue reports. Kudos to the person who debugged the whole mess.

@dmp42
Copy link
Contributor

dmp42 commented Nov 7, 2014

All: 0.9.0 is available on the hub

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use-sigv4 doesn't work with the current boto library

4 participants