Container Registry "cleanup timed out" even when there's just 1 image

Describe your question in as much detail as possible:
We use container registry for CI/CD, thus needs auto cleanup. So we set it up to run daily.
We had 14 repositories in the CR, ~80 tags per repository now, the oldest was from several months ago.
Our CI/CD generates less than 5 tags per day for each repository.

  • What are you seeing, and how does that differ from what you expect to see?
    The next day it shows warning message “Cleanup timed out before it could delete all tags” and the number of tags stayed exactly the same.
    Expect to see outdated tags removed.

  • Consider including screenshots, error messages, and/or other helpful visuals
    Error message: “Cleanup timed out before it could delete all tags”.

  • What version are you on? Are you using self-managed or GitLab.com?
    GitLab.com

  • Add the CI configuration from .gitlab-ci.yml and other configuration if relevant (e.g. docker-compose.yml)
    N/A

  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
    I did a test by manually deleting all of them, and wait one day, during which only 1 tag is generated per repository. But the warning message stays the same. *and of course nothing will be removed as they are still fresh.

Thanks for taking the time to be thorough in your request, it really helps! :blush:

2 Likes