Project

General

Profile

Bug #8835

Sync task for docker repo indicates it found 522 images but upon inspection, there looks to be only 179

Added by David Davis about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Container
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

After syncing https://registry.hub.docker.com/_/redis/, it seems that there are 522 images found (see attachment). However, when I look at the images for the repo, looks like there are only 179.

[5] pry(Katello):1> Repository.find(3).docker_images.count
  Katello::Repository Load (0.8ms)  SELECT "katello_repositories".* FROM "katello_repositories" WHERE "katello_repositories"."id" = $1 ORDER BY katello_repositories.name ASC LIMIT 1  [["id", 3]]
   (0.8ms)  SELECT COUNT(*) FROM "katello_docker_images" INNER JOIN "katello_repository_docker_images" ON "katello_docker_images"."id" = "katello_repository_docker_images"."docker_image_id" WHERE "katello_repository_docker_images"."repository_id" = 3
179

History

#2 Updated by David Davis about 8 years ago

  • Category set to Container

#3 Updated by Eric Helms about 8 years ago

  • Legacy Backlogs Release (now unused) set to 23
  • Triaged changed from No to Yes

#4 Updated by Eric Helms about 8 years ago

  • Status changed from New to Closed
  • Target version set to 66

Tested locally with a few repositories and wasn't seeing this occur. Please re-open if this is still an issue.

Also available in: Atom PDF