distribution: GCS: 2.3 -> 2.4 Blob upload invalid - Upload resumed at wrong offest

After updating to distribution:2.4 from version 2.3 I cannot push images. I’m using Google CS as storage driver.

Client says

docker push myregistry/alpine:latest
The push refers to a repository [myregistry/alpine]
4fb0d5162039: Preparing
fd566d8cd563: Preparing
4fb0d5162039: Retrying in 1 seconds
fd566d8cd563: Retrying in 13 seconds
fd566d8cd563: Retrying in 12 seconds
fd566d8cd563: Retrying in 12 seconds
blob upload unknown

Distribution repeats the same error:

TL;DR

upload resumed at wrong offest: 2319870 != 0
blob upload invalid
time="2016-05-04T09:40:21Z" level=info msg="upload resumed at wrong offest: 2319870 != 0" go.version=go1.6.1 http.request.host=myregistry http.request.id=9769d025-1ff6-4849-b76a-96a88a4a9a76 http.requ
est.method=PUT http.request.remoteaddr=95.224.30.40 http.request.uri="/v2/alpine/blobs/uploads/dbbbe31f-47de-4534-afe7-a95f5c36b414?_state=OwL5IGqXnnyBo4KZ40MI2Jg10SHKo2arBA2_bcwykq17Ik5hbWUiOiJhbHBpbmUiLCJVVUlE
IjoiZGJiYmUzMWYtNDdkZS00NTM0LWFmZTctYTk1ZjVjMzZiNDE0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDE2LTA1LTA0VDA5OjM5OjUyWiJ9&digest=sha256%3A420890c9e918b6668faaedd9000e220190f2493b0693ee563ebd7b4cc754a57d" http.request
.useragent="docker/1.11.1 go/go1.6.2 git-commit/5604cbe kernel/4.5.1-1-ARCH os/linux arch/amd64 UpstreamClient(Docker-Client/1.11.1 \\(linux\\))" instance.id=5b99cc31-ebf8-4cfd-b592-09b752bb8fc8 vars.name=alpine vars.uuid=dbbbe31f-47de-4534-afe7-a95f5c36b414 version=v2.4.0 
time="2016-05-04T09:40:22Z" level=error msg="response completed with error" err.code="blob upload invalid" err.message="blob upload invalid" go.version=go1.6.1 http.request.host=myregistry http.request.id=9769d025-1ff6-4849-b76a-96a88a4a9a76 http.request.method=PUT http.request.remoteaddr=95.224.30.40 http.request.uri="/v2/alpine/blobs/uploads/dbbbe31f-47de-4534-afe7-a95f5c36b414?_state=OwL5IGqXnnyBo4KZ40MI2
Jg10SHKo2arBA2_bcwykq17Ik5hbWUiOiJhbHBpbmUiLCJVVUlEIjoiZGJiYmUzMWYtNDdkZS00NTM0LWFmZTctYTk1ZjVjMzZiNDE0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDE2LTA1LTA0VDA5OjM5OjUyWiJ9&digest=sha256%3A420890c9e918b6668faaedd9000
e220190f2493b0693ee563ebd7b4cc754a57d" http.request.useragent="docker/1.11.1 go/go1.6.2 git-commit/5604cbe kernel/4.5.1-1-ARCH os/linux arch/amd64 UpstreamClient(Docker-Client/1.11.1 \\(linux\\))" http.response.contenttype="application/json; charset=utf-8" http.response.duration=295.659384ms http.response.status=404 http.response.written=76 instance.id=5b99cc31-ebf8-4cfd-b592-09b752bb8fc8 vars.name=alpine vars.uuid=dbb
be31f-47de-4534-afe7-a95f5c36b414 version=v2.4.0 
172.42.0.1 - - [04/May/2016:09:40:21 +0000] "PUT /v2/alpine/blobs/uploads/dbbbe31f-47de-4534-afe7-a95f5c36b414?_state=OwL5IGqXnnyBo4KZ40MI2Jg10SHKo2arBA2_bcwykq17Ik5hbWUiOiJhbHBpbmUiLCJVVUlEIjoiZGJiYmUzMWYtNDdkZS00NTM0LWFmZTctYTk1ZjVjMzZiNDE0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDE2LTA1LTA0VDA5OjM5OjUyWiJ9&digest=sha256%3A420890c9e918b6668faaedd9000e220190f2493b0693ee563ebd7b4cc754a57d HTTP/1.0" 404 76 "" "docker/1.11.1
 go/go1.6.2 git-commit/5604cbe kernel/4.5.1-1-ARCH os/linux arch/amd64 UpstreamClient(Docker-Client/1.11.1 \\(linux\\))"

Any thoughts on that?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 28 (15 by maintainers)

Commits related to this issue

Most upvoted comments

@thecubed I was thinking about doing the exact patch you suggested. Thanks!