Unknown Blob error using container registry
Summary
When I try to push an image to the container registry of my self managed gitlab instance, I get an "unknown blob" or "blob upload unknown" error. When I open the instance and try to find the image that I just pushed, I can see it there, but with no tags associated with it.
Steps to reproduce
- Install Gitlab using Helm in an AKS
- Don't alter the initial values of the Container Registry configurations
- Tag a docker image
- Try to push the image
What is the current bug behavior?
Docker push results in "blob upload unknown", image with no tags in it
What is the expected correct behavior?
Docker push results in "pushed", and image have 1 tag on it
Relevant logs and/or screenshots
Docker push results
Using default tag: latest
The push refers to repository [registry.***.com.br/***/test-user/hello-world]
e07ee1baac5f: Pushing [==================================================>] 14.85kB
blob upload unknown
Registry pod logs
{"auth_user_name":"","code":"NAME_UNKNOWN","correlation_id":"***","detail":"map[name:pedromendesinspira/test-user/testeflib]","error":"name unknown: repository name not known to registry","go_version":"go1.17.6","level":"error","msg":"repository name not known to registry","root_repo":"pedromendesinspira","time":"2022-03-15T23:57:52.680Z","vars_name":"pedromendesinspira/test-user/testeflib","version":"v3.27.1-gitlab"}
{"auth_user_name":"pedromendesinspira","code":"BLOB_UPLOAD_UNKNOWN","correlation_id":"***","detail":"blob upload unknown","error":"blob upload unknown: blob upload unknown to registry","go_version":"go1.17.6","level":"error","msg":"blob upload unknown to registry","root_repo":"pedromendesinspira","time":"2022-03-15T21:55:52.601Z","vars_name":"pedromendesinspira/test-user/testeflib","vars_uuid":"1918744f-9aae-4339-9a8e-375d4a15c0c9","version":"v3.27.1-gitlab"}
Edited by Pedro Henrique Florio Mendes