-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image is not deleted from the catalog in onprem #477
Comments
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days |
@zubenkoivan, could you please check the garbage collector? |
Hey @YevheniiSemendiak . This is not related to garbage collection. This feature is not supported by private docker registry instances. Please see the issue below. There is a PR that might solve it once merged. |
From the issues and PR Ivan mentioned, its seen that the blobs are actually deleted by the |
I am prepping to develop a basic open-source package primarily to list and remove tags and images when a repository admin no longer wants them available to the repository's consumers. I ran into this issue while prototyping my intended HTTP conversations in Postman. In my findings we see that after an image is deleted from the repository using the Docker-Content-Digest, the repository is still listed in _catalog. The problem is the HTTP DELETE conversation corrupted the registry datastore. When a repository is in this state, and some user or script issues a
This message indicates a corrupt registry datastore because the response should be NOT FOUND. When a utility like this API comes in from the side and manipulates the database, it should never corrupt the database. In my opinion, remediating this should be a high priority. |
When you delete the last tag of image, the image itself should not be displayed in
neuro image ls
.This holds only for cluster deployments, where do not use managed image registry.
@anayden you told we have enabled garbage collector, but I didn't found where is it.
Could you elaborate, please?
The text was updated successfully, but these errors were encountered: