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 over 9 years ago. Updated almost 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 #2

Updated by David Davis over 9 years ago

  • Category set to Container
Actions #3

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #4

Updated by Eric Helms about 9 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.

Actions

Also available in: Atom PDF