Project

Profile

Help

Story #290

closed

[RFE] Unable to import images missing the 'repositories' file

Added by bleanhar@redhat.com almost 10 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Docker:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1191688 ++

Description of problem:

Description of problem:

While pushing OpenShift images to registry.access.redhat.com we noticed that Pulp requires a valid 'repositories' file in the image tar. It seems with RHEL 7's version of docker that if a save is passed an image ID instead of tag the repositories file will be missing.

In our case we actually prefer to run docker save with an ID to avoid any possible race condition of the tag being updated just before docker save is run. Could Pulp support this use case?

--- Additional comment from at 02/11/2015 18:54:23 ---

That sounds reasonable. We initially went with the expectation that an entire repo would be "docker save"d so that tags would be preserved from docker to pulp. As long as you're happy to re-create the tags in pulp, we can certainly do this.

Do you happen to have any idea how "docker save" will work with the new manifest data model? If it changes behavior substantially from what docker does currently, it might make sense to target this RFE for that new format.

--- Additional comment from at 02/11/2015 19:11:48 ---

In our case we were planning to recreate the tags in pulp since the environment they came from used tags that didn't follow the formal guidelines for registry.access.redhat.com.

Unfortunately I don't know anything about the new manifest data model. I'm a developer on the OpenShift team working with release engineering to publish images for the first time. :)

Also available in: Atom PDF