{"action":"created","issue":{"url":"https://api.github.com/repos/theobolo/kube-registry-azure/issues/1","repository_url":"https://api.github.com/repos/theobolo/kube-registry-azure","labels_url":"https://api.github.com/repos/theobolo/kube-registry-azure/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/theobolo/kube-registry-azure/issues/1/comments","events_url":"https://api.github.com/repos/theobolo/kube-registry-azure/issues/1/events","html_url":"https://github.com/theobolo/kube-registry-azure/issues/1","id":163288180,"number":1,"title":"Doesn't work with Premium Storage","user":{"login":"colemickens","id":327028,"avatar_url":"https://avatars.githubusercontent.com/u/327028?v=3","gravatar_id":"","url":"https://api.github.com/users/colemickens","html_url":"https://github.com/colemickens","followers_url":"https://api.github.com/users/colemickens/followers","following_url":"https://api.github.com/users/colemickens/following{/other_user}","gists_url":"https://api.github.com/users/colemickens/gists{/gist_id}","starred_url":"https://api.github.com/users/colemickens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colemickens/subscriptions","organizations_url":"https://api.github.com/users/colemickens/orgs","repos_url":"https://api.github.com/users/colemickens/repos","events_url":"https://api.github.com/users/colemickens/events{/privacy}","received_events_url":"https://api.github.com/users/colemickens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-30T23:23:31Z","updated_at":"2016-07-01T17:27:48Z","closed_at":null,"body":"Hi Theo,\r\n\r\nI know you observed this already but I wanted to file it here as a starting place. I suspect there's a bug in `docker-registry`, now called [`docker-distribution`](https://github.com/docker/distribution) or in the version of the Go SDK that `docker-distribution` uses.\r\n\r\n\r\n`2016-06-30T23:18:57.951489624Z 127.0.0.1 - - [30/Jun/2016:23:18:57 +0000] \"POST /v2/polykube-www/blobs/uploads/?from=polykube-www&mount=sha256%3A51f5c6a04d83efd2d45c5fd59537218924bc46705e3de6ffc8bc07b51481610b HTTP/1.1\" 500 418 \"\" \"docker/1.10.3 go/go1.6.1 git-commit/20f81dd kernel/4.4.0-28-generic os/linux arch/amd64\"`\r\n\r\n`2016-06-30T23:19:02.450195753Z time=\"2016-06-30T23:19:02Z\" level=error msg=\"response completed with error\" err.code=unknown err.detail=\"azure: storage: service returned error: StatusCode=400, ErrorCode=InvalidHeaderValue, ErrorMessage=The value for one of the HTTP headers is not in the correct format.\\nRequestId:\\nTime:2016-06-30T23:19:02.5897758Z, RequestId=7e11fc4a-001c-0005-7625-d3cf9f000000, QueryParameterName=, QueryParameterValue=\" err.message=\"unknown error\" go.version=go1.6.2 http.request.host=\"localhost:5000\" http.request.id=b4098253-8839-46be-9bd4-d8846ec77eea http.request.method=POST http.request.remoteaddr=\"127.0.0.1:45308\" http.request.uri=\"/v2/polykube-aspnet-api/blobs/uploads/\" http.request.useragent=\"docker/1.10.3 go/go1.6.1 git-commit/20f81dd kernel/4.4.0-28-generic os/linux arch/amd64\" http.response.contenttype=\"application/json; charset=utf-8\" http.response.duration=83.84251ms http.response.status=500 http.response.written=418 instance.id=9cd62286-e1c3-4d56-a473-96331ac5e70e vars.name=polykube-aspnet-api version=v2.4.1` \r\n\r\nCC: @ahmetalpbalkan"},"comment":{"url":"https://api.github.com/repos/theobolo/kube-registry-azure/issues/comments/230003572","html_url":"https://github.com/theobolo/kube-registry-azure/issues/1#issuecomment-230003572","issue_url":"https://api.github.com/repos/theobolo/kube-registry-azure/issues/1","id":230003572,"user":{"login":"ahmetalpbalkan","id":159209,"avatar_url":"https://avatars.githubusercontent.com/u/159209?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetalpbalkan","html_url":"https://github.com/ahmetalpbalkan","followers_url":"https://api.github.com/users/ahmetalpbalkan/followers","following_url":"https://api.github.com/users/ahmetalpbalkan/following{/other_user}","gists_url":"https://api.github.com/users/ahmetalpbalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetalpbalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetalpbalkan/subscriptions","organizations_url":"https://api.github.com/users/ahmetalpbalkan/orgs","repos_url":"https://api.github.com/users/ahmetalpbalkan/repos","events_url":"https://api.github.com/users/ahmetalpbalkan/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetalpbalkan/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T17:27:48Z","updated_at":"2016-07-01T17:27:48Z","body":"@theobolo If I remember correctly, premium storage is only for Disks (page blobs) and we don't use that type of blobs in the registry for various reasons. \r\n\r\nHonestly we haven't super closely looked at the performance of the driver, it very well might be that we could do some parallelization to increase the throughput or various tricks like adjusting the chunk size more appropriately. I suppose the perf will get better, but it probably will never be close to disk write speed as there's a lot of back and forth traffic between registry and Azure Storage. "}}
{"actor":{"display_login":"ahmetalpbalkan"}}