Docker images are not moved and remain in the registry after a project transfer

Summary

I moved some projects to another parent (/group1 -> /new-group/group1 for example). Docker images just disappear after the move (first bug) and when i do gitlab-ctl registry-garbage-collect, they are always here but not removed (second bug) !

Steps to reproduce

Move project with docker images to a new parent.

What is the current bug behavior?

  • Docker images disappear after the move
  • Docker images disappear but gitlab-ctl registry-garbage-collect don't remove them !

What is the expected correct behavior?

  • Docker images is displayed in Gitlab so I can continue to use it and manage them
  • OR gitlab-ctl registry-garbage-collect remove them because they are not manageable anymore in Gitlab

Results of GitLab environment info

Expand for output related to GitLab environment info

System information System: Ubuntu 18.04 Proxy: no Current User: git Using RVM: no Ruby Version: 2.4.4p296 Gem Version: 2.7.6 Bundler Version:1.16.2 Rake Version: 12.3.1 Redis Version: 3.2.11 Git Version: 2.18.1 Sidekiq Version:5.1.3 Go Version: unknown

GitLab information Version: 11.3.6-ee Revision: 8d9cf17629c Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.8 URL: https://example.org HTTP Clone URL: https://example.org/some-group/some-project.git SSH Clone URL: git@example.org:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: no

GitLab Shell Version: 8.3.3 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Assignee Loading
Time tracking Loading