{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/2126","repository_url":"https://api.github.com/repos/docker/distribution","labels_url":"https://api.github.com/repos/docker/distribution/issues/2126/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/2126/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/2126/events","html_url":"https://github.com/docker/distribution/issues/2126","id":198689453,"number":2126,"title":"Has Amazon S3 private endpoint been supported?","user":{"login":"duyanghao","id":12867714,"avatar_url":"https://avatars.githubusercontent.com/u/12867714?v=3","gravatar_id":"","url":"https://api.github.com/users/duyanghao","html_url":"https://github.com/duyanghao","followers_url":"https://api.github.com/users/duyanghao/followers","following_url":"https://api.github.com/users/duyanghao/following{/other_user}","gists_url":"https://api.github.com/users/duyanghao/gists{/gist_id}","starred_url":"https://api.github.com/users/duyanghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duyanghao/subscriptions","organizations_url":"https://api.github.com/users/duyanghao/orgs","repos_url":"https://api.github.com/users/duyanghao/repos","events_url":"https://api.github.com/users/duyanghao/events{/privacy}","received_events_url":"https://api.github.com/users/duyanghao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-01-04T11:44:20Z","updated_at":"2017-02-15T02:00:28Z","closed_at":"2017-01-27T22:52:11Z","body":"i build the binary from master branch source code,and with the configuration file below:\r\n\r\n> version: 0.1\r\n> log:\r\n>   level: debug\r\n>   fields:\r\n>     service: registry\r\n> storage:\r\n>     cache:\r\n>         blobdescriptor: inmemory\r\n>     s3:\r\n>         accesskey: xxxx\r\n>         secretkey: xxxx\r\n>         region: test_region\r\n>         regionendpoint: http://local_test_region_dns\r\n>         bucket: test_bucket\r\n>         encrypt: false\r\n>         secure: false\r\n>         v4auth: false\r\n>         chunksize: 5242880\r\n>         rootdirectory: /registry\r\n> \r\n> http:\r\n>     addr: 0.0.0.0:5000\r\n>     headers:\r\n>         X-Content-Type-Options: [nosniff]\r\n> health:\r\n>   storagedriver:\r\n>     enabled: true\r\n>     interval: 10s\r\n>     threshold: 3\r\n\r\n**attention:**\r\nthe `regionendpoint` is my private region address, there is a rgw running in the address.\r\n\r\ni run registry with cmd `registry serve config.yml`,but when i send request `docker pull`,error occurs below:\r\n```\r\nstable: Pulling from duyanghao/docker_auth\r\n55dc925c23d1: Retrying in 5 seconds \r\na3ed95caeb02: Pulling fs layer \r\ndca794285b62: Waiting \r\nd755a80ad6b2: Waiting \r\nGet http:///test_bucket/registry/docker/registry/v2/blobs/sha256/8d/8db29e90952f46e7e0ebe9b3304f75e571cf6714d57832ad875c06edd81f5379/data: http: no Host in request URL\r\n```\r\n\r\nthe above error msg show two errors:\r\n1.no host in the redirect url\r\n2.no aws access key msg in redirect url\r\n\r\nand the successful redirect url should be like this:\r\n`\r\nhttp://local_test_region_dns/test_bucket/registry/docker/registry/v2/blobs/sha256/8d/8db29e90952f46e7e0ebe9b3304f75e571cf6714d57832ad875c06edd81f5379/data?...\r\n`\r\n\r\nthen i build the binary from v2.5.1 source code,different error occurs,but with the same result:\r\n**Amazon S3 is unusable!!!**\r\n\r\n**i want to know whether the Amazon S3 driver function has been verified yet?**"},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/279895951","html_url":"https://github.com/docker/distribution/issues/2126#issuecomment-279895951","issue_url":"https://api.github.com/repos/docker/distribution/issues/2126","id":279895951,"user":{"login":"duyanghao","id":12867714,"avatar_url":"https://avatars.githubusercontent.com/u/12867714?v=3","gravatar_id":"","url":"https://api.github.com/users/duyanghao","html_url":"https://github.com/duyanghao","followers_url":"https://api.github.com/users/duyanghao/followers","following_url":"https://api.github.com/users/duyanghao/following{/other_user}","gists_url":"https://api.github.com/users/duyanghao/gists{/gist_id}","starred_url":"https://api.github.com/users/duyanghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duyanghao/subscriptions","organizations_url":"https://api.github.com/users/duyanghao/orgs","repos_url":"https://api.github.com/users/duyanghao/repos","events_url":"https://api.github.com/users/duyanghao/events{/privacy}","received_events_url":"https://api.github.com/users/duyanghao/received_events","type":"User","site_admin":false},"created_at":"2017-02-15T02:00:28Z","updated_at":"2017-02-15T02:00:28Z","body":"@stevvooe Looking at ceph rados gw [document](http://docs.ceph.com/docs/master/radosgw/),that says:\r\n>>\r\nCeph Object Gateway is an object storage interface built on top of librados to provide applications with a RESTful gateway to Ceph Storage Clusters. Ceph Object Storage supports two interfaces:\r\n* S3-compatible: Provides object storage functionality with an interface that is compatible with a large subset of the Amazon S3 RESTful API.\r\n* Swift-compatible: Provides object storage functionality with an interface that is compatible with a large \r\nsubset of the OpenStack Swift API.\r\n\r\nso i just think s3 driver will support the rados gw?is there anything wrong?\r\n"}}
{"actor":{"display_login":"duyanghao"}}