SUSE / Portus

Authorization service and frontend for Docker registry (v2)
http://port.us.org/
Apache License 2.0
3k stars 470 forks source link

Response completed with error - err.code="blob unknown" #2188

Closed websolutions-hamburg closed 5 years ago

websolutions-hamburg commented 5 years ago

Description

Hello, I get the following docker registry error messages, everytime I push a new image. But everything looks fine. The push is finally complete. I can see the image in the repositorie and I can pull the image. So I don't understand the error message. I don't get errors in the db, portus or background tasks.

Steps to reproduce

  1. I installed Portus from the compose example.
  2. I created the first admin user.
  3. I pushed my first image to the admin namespace.

This is my log from the docker registry task:

1.5.2019 00:39:54time="2019-04-30T22:39:54.424435581Z" level=warning msg="error authorizing context: authorization token required" go.version=go1.11.2 http.request.host=distribution.local http.request.id=4a00078d-4518-4ba2-8370-9362d0af164e http.request.method=GET http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))"
1.5.2019 00:39:54time="2019-04-30T22:39:54.885019111Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=e7d157d0-dd7b-4649-96f9-9f39563e5954 http.request.method=HEAD http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/sha256:0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.digest="sha256:0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" vars.name="admin/whoami"
1.5.2019 00:39:54time="2019-04-30T22:39:54.88555401Z" level=error msg="response completed with error" auth.user.name=admin err.code="blob unknown" err.detail=sha256:0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf err.message="blob unknown to registry" go.version=go1.11.2 http.request.host=distribution.local http.request.id=e7d157d0-dd7b-4649-96f9-9f39563e5954 http.request.method=HEAD http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/sha256:0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.contenttype="application/json; charset=utf-8" http.response.duration=5.841624ms http.response.status=404 http.response.written=157 vars.digest="sha256:0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" vars.name="admin/whoami"
1.5.2019 00:39:55time="2019-04-30T22:39:55.329673862Z" level=warning msg="error authorizing context: insufficient scope" go.version=go1.11.2 http.request.host=distribution.local http.request.id=916571e1-9800-4684-a1f3-5faf21d70afa http.request.method=POST http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/?from=test%2Fwhoami&mount=sha256%3A0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami"
1.5.2019 00:39:55time="2019-04-30T22:39:55.723690975Z" level=warning msg="error authorizing context: insufficient scope" go.version=go1.11.2 http.request.host=distribution.local http.request.id=a2bf97de-6a25-432e-b4c9-79d3988778a6 http.request.method=POST http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/?from=whoami%2Fwhoami2&mount=sha256%3A0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami"
1.5.2019 00:39:56time="2019-04-30T22:39:56.134824796Z" level=warning msg="error authorizing context: insufficient scope" go.version=go1.11.2 http.request.host=distribution.local http.request.id=675f9b73-1835-4124-8a16-d85b03797306 http.request.method=POST http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/?from=whoami%2Fwhoami1&mount=sha256%3A0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami"
1.5.2019 00:39:56time="2019-04-30T22:39:56.287456962Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=b49af4b7-1b62-4cbd-98c5-7e5677deca30 http.request.method=POST http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami"
1.5.2019 00:39:56time="2019-04-30T22:39:56.322036536Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=b49af4b7-1b62-4cbd-98c5-7e5677deca30 http.request.method=POST http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.duration=37.554648ms http.response.status=202 http.response.written=0
1.5.2019 00:39:56time="2019-04-30T22:39:56.477094181Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=b8f2efbb-5f3a-4418-9105-43946ec8003d http.request.method=PATCH http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/2774bf7b-856b-4ccf-9a52-1db734fe6290?_state=-4xAUcmQby-kkadsae-zPdUxFcPMAyg1-8nJb_i_cYp7Ik5hbWUiOiJhZG1pbi93aG9hbWkiLCJVVUlEIjoiMjc3NGJmN2ItODU2Yi00Y2NmLTlhNTItMWRiNzM0ZmU2MjkwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDE5LTA0LTMwVDIyOjM5OjU2LjI4NzU5MzcxOVoifQ%3D%3D" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami" vars.uuid=2774bf7b-856b-4ccf-9a52-1db734fe6290
1.5.2019 00:39:58time="2019-04-30T22:39:58.154339667Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=b8f2efbb-5f3a-4418-9105-43946ec8003d http.request.method=PATCH http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/2774bf7b-856b-4ccf-9a52-1db734fe6290?_state=-4xAUcmQby-kkadsae-zPdUxFcPMAyg1-8nJb_i_cYp7Ik5hbWUiOiJhZG1pbi93aG9hbWkiLCJVVUlEIjoiMjc3NGJmN2ItODU2Yi00Y2NmLTlhNTItMWRiNzM0ZmU2MjkwIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDE5LTA0LTMwVDIyOjM5OjU2LjI4NzU5MzcxOVoifQ%3D%3D" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.duration=1.680534493s http.response.status=202 http.response.written=0
1.5.2019 00:39:58time="2019-04-30T22:39:58.304749753Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=c306adce-34c5-4309-b538-34e497ac66a5 http.request.method=PUT http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/2774bf7b-856b-4ccf-9a52-1db734fe6290?_state=hrua5bFdrPQSxsCHZzHI5J2BbkAMpjPviQ79uih1mYx7Ik5hbWUiOiJhZG1pbi93aG9hbWkiLCJVVUlEIjoiMjc3NGJmN2ItODU2Yi00Y2NmLTlhNTItMWRiNzM0ZmU2MjkwIiwiT2Zmc2V0IjoxODEzMjQyLCJTdGFydGVkQXQiOiIyMDE5LTA0LTMwVDIyOjM5OjU2WiJ9&digest=sha256%3A0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami" vars.uuid=2774bf7b-856b-4ccf-9a52-1db734fe6290
1.5.2019 00:39:58time="2019-04-30T22:39:58.320643028Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=c306adce-34c5-4309-b538-34e497ac66a5 http.request.method=PUT http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/2774bf7b-856b-4ccf-9a52-1db734fe6290?_state=hrua5bFdrPQSxsCHZzHI5J2BbkAMpjPviQ79uih1mYx7Ik5hbWUiOiJhZG1pbi93aG9hbWkiLCJVVUlEIjoiMjc3NGJmN2ItODU2Yi00Y2NmLTlhNTItMWRiNzM0ZmU2MjkwIiwiT2Zmc2V0IjoxODEzMjQyLCJTdGFydGVkQXQiOiIyMDE5LTA0LTMwVDIyOjM5OjU2WiJ9&digest=sha256%3A0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.duration=20.898931ms http.response.status=201 http.response.written=0
1.5.2019 00:39:58time="2019-04-30T22:39:58.444669774Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=7d13418d-9ffd-4b5f-9bf9-547d192f977f http.request.method=HEAD http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/sha256:0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.digest="sha256:0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" vars.name="admin/whoami"
1.5.2019 00:39:58time="2019-04-30T22:39:58.445080281Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=7d13418d-9ffd-4b5f-9bf9-547d192f977f http.request.method=HEAD http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/sha256:0b6a271d4e44d66bec96268f518047f9bee55163cb76926a9d6f6c2556420dcf" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.contenttype="application/octet-stream" http.response.duration=1.43584ms http.response.status=200 http.response.written=0
1.5.2019 00:39:58time="2019-04-30T22:39:58.603485791Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=db306b99-d7ef-480d-9e10-cfd90678ee99 http.request.method=HEAD http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/sha256:ca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.digest="sha256:ca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" vars.name="admin/whoami"
1.5.2019 00:39:58time="2019-04-30T22:39:58.603927418Z" level=error msg="response completed with error" auth.user.name=admin err.code="blob unknown" err.detail=sha256:ca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77 err.message="blob unknown to registry" go.version=go1.11.2 http.request.host=distribution.local http.request.id=db306b99-d7ef-480d-9e10-cfd90678ee99 http.request.method=HEAD http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/sha256:ca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.contenttype="application/json; charset=utf-8" http.response.duration=3.658757ms http.response.status=404 http.response.written=157 vars.digest="sha256:ca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" vars.name="admin/whoami"
1.5.2019 00:39:58time="2019-04-30T22:39:58.77011678Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=bc799576-dfc1-48d7-8eb4-2a45756ae10f http.request.method=POST http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami"
1.5.2019 00:39:58time="2019-04-30T22:39:58.784792432Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=bc799576-dfc1-48d7-8eb4-2a45756ae10f http.request.method=POST http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.duration=17.712817ms http.response.status=202 http.response.written=0
1.5.2019 00:39:58time="2019-04-30T22:39:58.964800394Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=4b5ece0c-6cea-4f5e-84c5-2cbebaefbdc4 http.request.method=PATCH http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/376e1338-0926-4634-8c82-d48c40ecf362?_state=R4ef5cuMZt5GgzeIFQXIO0gBkUxNxaQhise5zQuYQyh7Ik5hbWUiOiJhZG1pbi93aG9hbWkiLCJVVUlEIjoiMzc2ZTEzMzgtMDkyNi00NjM0LThjODItZDQ4YzQwZWNmMzYyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDE5LTA0LTMwVDIyOjM5OjU4Ljc3MDI0MzcyNloifQ%3D%3D" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami" vars.uuid=376e1338-0926-4634-8c82-d48c40ecf362
1.5.2019 00:39:58time="2019-04-30T22:39:58.981328268Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=4b5ece0c-6cea-4f5e-84c5-2cbebaefbdc4 http.request.method=PATCH http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/376e1338-0926-4634-8c82-d48c40ecf362?_state=R4ef5cuMZt5GgzeIFQXIO0gBkUxNxaQhise5zQuYQyh7Ik5hbWUiOiJhZG1pbi93aG9hbWkiLCJVVUlEIjoiMzc2ZTEzMzgtMDkyNi00NjM0LThjODItZDQ4YzQwZWNmMzYyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDE5LTA0LTMwVDIyOjM5OjU4Ljc3MDI0MzcyNloifQ%3D%3D" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.duration=21.527976ms http.response.status=202 http.response.written=0
1.5.2019 00:39:59time="2019-04-30T22:39:59.135396135Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=a0140589-9f60-456f-9a85-368350cbb42f http.request.method=PUT http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/376e1338-0926-4634-8c82-d48c40ecf362?_state=jLNjPijsiu0FlIwC71RsLiYZAsbHgMdBoz3fbyanf5B7Ik5hbWUiOiJhZG1pbi93aG9hbWkiLCJVVUlEIjoiMzc2ZTEzMzgtMDkyNi00NjM0LThjODItZDQ4YzQwZWNmMzYyIiwiT2Zmc2V0IjoxNjQ2LCJTdGFydGVkQXQiOiIyMDE5LTA0LTMwVDIyOjM5OjU4WiJ9&digest=sha256%3Aca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami" vars.uuid=376e1338-0926-4634-8c82-d48c40ecf362
1.5.2019 00:39:59time="2019-04-30T22:39:59.14992574Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=a0140589-9f60-456f-9a85-368350cbb42f http.request.method=PUT http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/uploads/376e1338-0926-4634-8c82-d48c40ecf362?_state=jLNjPijsiu0FlIwC71RsLiYZAsbHgMdBoz3fbyanf5B7Ik5hbWUiOiJhZG1pbi93aG9hbWkiLCJVVUlEIjoiMzc2ZTEzMzgtMDkyNi00NjM0LThjODItZDQ4YzQwZWNmMzYyIiwiT2Zmc2V0IjoxNjQ2LCJTdGFydGVkQXQiOiIyMDE5LTA0LTMwVDIyOjM5OjU4WiJ9&digest=sha256%3Aca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.duration=17.879695ms http.response.status=201 http.response.written=0
1.5.2019 00:39:59time="2019-04-30T22:39:59.303167547Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=2ff1cb13-871c-4c71-a489-4e38e183293d http.request.method=HEAD http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/sha256:ca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.digest="sha256:ca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" vars.name="admin/whoami"
1.5.2019 00:39:59time="2019-04-30T22:39:59.304686336Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=2ff1cb13-871c-4c71-a489-4e38e183293d http.request.method=HEAD http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/blobs/sha256:ca11b34a87bf8e27785cca96ad6fb4574f35c8022f2f7dfda42a0d60d7f2af77" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.contenttype="application/octet-stream" http.response.duration=4.658208ms http.response.status=200 http.response.written=0
1.5.2019 00:39:59time="2019-04-30T22:39:59.429733099Z" level=info msg="authorized request" go.version=go1.11.2 http.request.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.request.host=distribution.local http.request.id=d2a3b05d-96a6-4d5e-8762-098c73106061 http.request.method=PUT http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/manifests/1.0.1" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" vars.name="admin/whoami" vars.reference=1.0.1
1.5.2019 00:39:59time="2019-04-30T22:39:59.455260828Z" level=info msg="response completed" go.version=go1.11.2 http.request.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.request.host=distribution.local http.request.id=d2a3b05d-96a6-4d5e-8762-098c73106061 http.request.method=PUT http.request.remoteaddr=1.1.1.1 http.request.uri="/v2/admin/whoami/manifests/1.0.1" http.request.useragent="docker/18.09.2 go/go1.10.6 git-commit/6247962 kernel/4.9.125-linuxkit os/linux arch/amd64 UpstreamClient(Docker-Client/18.09.2 \(darwin\))" http.response.duration=28.61944ms http.response.status=201 http.response.written=0
1.5.2019 00:40:00time="2019-04-30T22:40:00.422334757Z" level=warning msg="error authorizing context: authorization token required" go.version=go1.11.2 http.request.host=distribution.local http.request.id=98db4558-e5f7-442e-a3a9-e07ec774c2ab http.request.method=GET http.request.remoteaddr=10.42.90.173 http.request.uri="/v2/admin/whoami/manifests/sha256:5c4cd8f2a1727cd785fcd8f55a74c216b46c1e0585648a54b09bf8262dcb5dcb" http.request.useragent=Ruby vars.name="admin/whoami" vars.reference="sha256:5c4cd8f2a1727cd785fcd8f55a74c216b46c1e0585648a54b09bf8262dcb5dcb"
1.5.2019 00:40:00time="2019-04-30T22:40:00.49025941Z" level=info msg="authorized request" go.version=go1.11.2 http.request.host=distribution.local http.request.id=11e5283f-097f-4375-88f6-8aa8baf1b6d8 http.request.method=GET http.request.remoteaddr=10.42.90.173 http.request.uri="/v2/admin/whoami/manifests/sha256:5c4cd8f2a1727cd785fcd8f55a74c216b46c1e0585648a54b09bf8262dcb5dcb" http.request.useragent=Ruby vars.name="admin/whoami" vars.reference="sha256:5c4cd8f2a1727cd785fcd8f55a74c216b46c1e0585648a54b09bf8262dcb5dcb"
1.5.2019 00:40:00time="2019-04-30T22:40:00.490555524Z" level=info msg="response completed" go.version=go1.11.2 http.request.host=distribution.local http.request.id=11e5283f-097f-4375-88f6-8aa8baf1b6d8 http.request.method=GET http.request.remoteaddr=10.42.90.173 http.request.uri="/v2/admin/whoami/manifests/sha256:5c4cd8f2a1727cd785fcd8f55a74c216b46c1e0585648a54b09bf8262dcb5dcb" http.request.useragent=Ruby http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=1.577358ms http.response.status=200 http.response.written=528

Deployment information

I used this configuration: https://github.com/SUSE/Portus/blob/master/examples/compose/docker-compose.yml

In my setup I run Portus on Rancher and behind Traefik as reverse proxy. I found this issue with the X-Forwarded-Poto header issue: https://github.com/SUSE/Portus/issues/1584 But Traefik automatically enabled this header. So I think, this is not my problem.

Portus version: 2.4.3@5a616c0ef860567df5700708256f42505cdb9952

websolutions-hamburg commented 5 years ago

I'm not sure. But is it possible, that this is not a bug? It is just an information message? I found this conversation, and here it looks like that: https://github.com/docker/distribution/pull/1004

websolutions-hamburg commented 5 years ago

Ok, I also found this: https://github.com/docker/distribution/issues/2208 So I think this is not a bug, it's a feature.