Project

General

Profile

Actions

Bug #25972

closed

Can't sync discovered containers without slash in name from Docker.io registry

Added by Partha Aji almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

When using repo discovery to pull containers from Docker.io registry, containers from main namespace (without slash in name) will fail to sync afterwards.

The problem is that while repo discovery works against `index.docker.io`, containers must be properly namespaced to be pulled from it. So instead of `alpine`, `library/alpine` must be pulled.

It seems that `library` is implicit when pulling images from `registry-1.docker.io`, so just `alpine` will work; but repo discovery doesn't work against that host, which means manual creation of repositories.

While this might be problem on Docker.io side, they are the biggest provider of images out there, so we might want to adjust to them nevertheless.

Steps to Reproduce:
1. Content -> Products -> Repo discovery -> Type: Container images
2. Registry: index.docker.io -> Registry Search Parameter: alpine
3. Select `alpine` and `alpine/git` -> Create Selected -> Run repository creation
4. Navigate to product page, sync both repositories

Actual results:
Syncing `alpine` repository fails; syncing `alpine/git` succeeds.
To make alpine sync, go to details page and do either of following:
- change Registry URL to `https://registry-1.docker.io/`
- change Upstream Repository Name to `library/alpine`

Expected results:
Syncing both succeeds.

Actions #1

Updated by Partha Aji almost 6 years ago

  • Bugzilla link set to 1648344
Actions #2

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7957 added
Actions #3

Updated by Anonymous almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/Katello/katello/pull/7966 added
Actions #5

Updated by The Foreman Bot almost 6 years ago

  • Pull request https://github.com/Katello/katello/pull/7967 added
Actions #6

Updated by Justin Sherrill almost 6 years ago

  • Target version set to Katello 3.12.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF