Failed to remove tag when removing a image from the registry
I have a bunch of images in my registry that I can not remove from the interface. Clicking the remove icon gives a message "Failed to remove tag".
In /var/log/gitlab/registry/current
, I see the following messages:
2016-07-25_09:32:40.10174 time="2016-07-25T11:32:40.101599771+02:00" level=error msg="response completed with error" auth.user.name= environment=production err.code="manifest unknown" err.detail="unknown manifest name=development/boss revision=sha256:7821b1eb677a46a0cbe7321de06537c694f8f580b5ee7b9ab6e8c0146fb10e2a" err.message="manifest unknown" go.version=go1.5.4 http.request.host="localhost:5000" http.request.id=640d5b9d-1922-48b9-b9ad-057fc3774b32 http.request.method=HEAD http.request.remoteaddr="127.0.0.1:43148" http.request.uri="/v2/development/boss/manifests/papi-95230115ea6f159b36338e0aa05f10a4fbf646e1" http.request.useragent="Faraday v0.9.2" http.response.contenttype="application/json; charset=utf-8" http.response.duration=6.03603ms http.response.status=404 http.response.written=192 instance.id=df73c0b7-cf0a-44b2-a25a-e01db6be4fb8 service=registry vars.name="development/boss" vars.reference=papi-95230115ea6f159b36338e0aa05f10a4fbf646e1 version=v2.4.1
2016-07-25_09:32:40.10182 127.0.0.1 - - [25/Jul/2016:11:32:40 +0200] "HEAD /v2/development/boss/manifests/papi-95230115ea6f159b36338e0aa05f10a4fbf646e1 HTTP/1.1" 404 192 "" "Faraday v0.9.2"
2016-07-25_09:32:42.88647 time="2016-07-25T11:32:42.886354924+02:00" level=info msg="response completed" environment=production go.version=go1.5.4 http.request.host="localhost:5000" http.request.id=cf08aca5-9cdf-4074-838f-f8f0e33ce8e0 http.request.method=GET http.request.remoteaddr="127.0.0.1:43658" http.request.uri="/v2/development/boss/manifests/pfront-95230115ea6f159b36338e0aa05f10a4fbf646e1" http.request.useragent="Faraday v0.9.2" http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=5.506057ms http.response.status=200 http.response.written=3659 instance.id=df73c0b7-cf0a-44b2-a25a-e01db6be4fb8 service=registry version=v2.4.1
2016-07-25_09:32:42.88651 127.0.0.1 - - [25/Jul/2016:11:32:42 +0200] "GET /v2/development/boss/manifests/pfront-95230115ea6f159b36338e0aa05f10a4fbf646e1 HTTP/1.1" 200 3659 "" "Faraday v0.9.2"
2016-07-25_09:32:49.51210 time="2016-07-25T11:32:49.512030769+02:00" level=info msg="response completed" environment=production go.version=go1.5.4 http.request.host="localhost:5000" http.request.id=6216b19a-b6e0-40a5-9984-fbf674e99644 http.request.method=GET http.request.remoteaddr="127.0.0.1:44870" http.request.uri="/v2/development/boss/manifests/pcore-95230115ea6f159b36338e0aa05f10a4fbf646e1" http.request.useragent="Faraday v0.9.2" http.response.contenttype="application/vnd.docker.distribution.manifest.v2+json" http.response.duration=5.604862ms http.response.status=200 http.response.written=3865 instance.id=df73c0b7-cf0a-44b2-a25a-e01db6be4fb8 service=registry version=v2.4.1
2016-07-25_09:32:49.51228 127.0.0.1 - - [25/Jul/2016:11:32:49 +0200] "GET /v2/development/boss/manifests/pcore-95230115ea6f159b36338e0aa05f10a4fbf646e1 HTTP/1.1" 200 3865 "" "Faraday v0.9.2"
2016-07-25_09:32:50.98922 time="2016-07-25T11:32:50.989015587+02:00" level=error msg="response completed with error" auth.user.name= environment=production err.code="manifest unknown" err.detail="unknown manifest name=development/boss revision=sha256:7821b1eb677a46a0cbe7321de06537c694f8f580b5ee7b9ab6e8c0146fb10e2a" err.message="manifest unknown" go.version=go1.5.4 http.request.host="localhost:5000" http.request.id=bae2563d-85d7-40b4-9bc5-53b1c942c321 http.request.method=GET http.request.remoteaddr="127.0.0.1:45140" http.request.uri="/v2/development/boss/manifests/papi-95230115ea6f159b36338e0aa05f10a4fbf646e1" http.request.useragent="Faraday v0.9.2" http.response.contenttype="application/json; charset=utf-8" http.response.duration=6.692108ms http.response.status=404 http.response.written=192 instance.id=df73c0b7-cf0a-44b2-a25a-e01db6be4fb8 service=registry vars.name="development/boss" vars.reference=papi-95230115ea6f159b36338e0aa05f10a4fbf646e1 version=v2.4.1
2016-07-25_09:32:50.98924 127.0.0.1 - - [25/Jul/2016:11:32:50 +0200] "GET /v2/development/boss/manifests/papi-95230115ea6f159b36338e0aa05f10a4fbf646e1 HTTP/1.1" 404 192 "" "Faraday v0.9.2"