Project

General

Profile

Feature #7796

As a I user, I want to enable docker repositories from the Red Hat CDN

Added by David Davis over 7 years ago. Updated almost 4 years ago.

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

Related issues

Blocks Katello - Tracker #7125: Docker Content SupportReady For Testing

Associated revisions

Revision 06bedb13 (diff)
Added by Partha Aji over 7 years ago

Fixes #7796 - Added code to enable docker repos

Code to enable docker repos.

Revision d987d737
Added by Partha Aji over 7 years ago

Merge pull request #4732 from parthaa/enable2

Fixes #7796 - Docker repositories can now be enabled

Revision cac6b2fd (diff)
Added by Partha Aji over 7 years ago

Refs #7796 - Shows docker registry names for CDN enablement

hammer repository-set available-repositories --product-id=21 --id=3877

will now show a Registry Name for docker repos.

Revision 8c0b497a (diff)
Added by Partha Aji over 7 years ago

Fixes #7796 - Enable docker repos from the CDN

This commit provides code to enable/create docker repos from a CDN
manifest.

The way this supposed to work.

1) CDN exposes the real sync URLs for rhel repos under a file called
CONTAINER_REGISTRY_LISTING with the following json format {
"header": {
"version": "1.0"
},
"payload": {
"registries": [ { "name": "<repo-name>",
"url": "<url>"
}, { "name": "<repo-name2>",
"url": "<url>",
"aliases": [ "<other names>" ]
}
]
}
}
These files can be found where the docker container exposes contentUrl
for the content.
2) When the user goes to the repo enablement page and selects a docker
repository content set, she will get to choose any of the registries
picked from the CONTAINER_REGISTRY_LISTING file basically in the format

"#{content.name} - #{registry.name}" for each registry.

3) Once the user chooses to enable a repo, katello grabs the pulp-id and
the url listed in the listings file and creates a docker repository in
pulp. Right now we are leaving the repos unprotected, but at some point
when we have the enforcement code ready we'll probably look into
changing that to protected

Revision e2b19674
Added by Partha Aji over 7 years ago

Merge pull request #5031 from parthaa/cdn

Fixes #7796 - Enable docker repos from the CDN

Revision 0719e99d
Added by Partha Aji over 7 years ago

Merge pull request #279 from parthaa/cdn-enablement

Refs #7796 - Shows docker registry names for CDN enablement

History

#1 Updated by David Davis over 7 years ago

#2 Updated by David Davis over 7 years ago

  • translation missing: en.field_story_points set to 5.0

#3 Updated by Partha Aji over 7 years ago

  • Assignee set to Partha Aji

#4 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 58
  • Pull request https://github.com/Katello/katello/pull/4732 added
  • Pull request deleted ()

#5 Updated by Partha Aji over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Eric Helms over 7 years ago

  • Legacy Backlogs Release (now unused) set to 14

#7 Updated by Partha Aji over 7 years ago

  • Bugzilla link set to 1199289

Also available in: Atom PDF