Project

General

Profile

Actions

Bug #8835

closed

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

Added by David Davis about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Container
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Files

Actions

Also available in: Atom PDF