GoogleCloudPlatform / docker-registry-driver-gcs

Docker Registry Google Cloud Storage driver
Apache License 2.0
26 stars 14 forks source link

Outdated gcs-oauth2-boto-plugin causes failure to auth on CoreOS under GCE. #17

Closed peterwald closed 9 years ago

peterwald commented 10 years ago

The latest build of docker-registry will not work on CoreOS using Google Cloud Metadata for authentication. The reason is that the gcs-oauth2-boto-plugin refers to the metadata service at http://metadata/ rather than http://metadata.google.internal/.

A fix has already been pushed to the gcs-oath2-boto-plugin repository. The commit is https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin/commit/5ed1009753f73aa4eae06558b5241ef82907b9d3.

I think the gcs-oauth2-boto-plugin project needs to be updated to push a new version out to the pip package and in this project, the docker-registry requirements file needs to be updated to pull in the updated dependency as well.

proppy commented 10 years ago

/cc @zwilt can you push a new version of gcs-oauth2-boto-plugin on pip?

zwilt commented 10 years ago

Sure thing, the new version 1.8 should now be live on PyPI: https://pypi.python.org/pypi/gcs-oauth2-boto-plugin/1.8

I've got a few more steps to get it internally and such, but it doesn't sound like you guys need that. Please let me know if there's anything else you could use from my end.