Container Registry cleanup fails with Gitlab 15.5
We have our own instance of gitlab-ce, which was upgraded to 15.5 this weekend. Now, onn the Containers page for each project, I noticed the message:
Some tags were not deleted
The cleanup policy timed out before it could delete all tags. An administrator can manually run cleanup now or you can wait for the cleanup policy to automatically run again. More information
I then tried to run the cleanup manually according to:
https://docs.gitlab.com/ee/administration/packages/container_registry.html#run-the-cleanup-policy-now
But then I get the error
Traceback (most recent call last):
11: from (irb):53
10: from (irb):57:in `block in irb_binding'
9: from app/services/projects/container_repository/cleanup_tags_service.rb:11:in `execute'
8: from app/services/projects/container_repository/gitlab/cleanup_tags_service.rb:17:in `execute'
7: from app/services/projects/container_repository/gitlab/cleanup_tags_service.rb:55:in `with_timeout'
6: from app/services/projects/container_repository/gitlab/cleanup_tags_service.rb:18:in `block in execute'
5: from app/models/container_repository.rb:446:in `each_tags_page'
4: from lib/container_registry/gitlab_api_client.rb:109:in `tags'
3: from lib/container_registry/gitlab_api_client.rb:147:in `with_token_faraday'
2: from lib/container_registry/gitlab_api_client.rb:111:in `block in tags'
1: from lib/gitlab/faraday/error_callback.rb:30:in `call'