Project

Profile

Help

Story #2831

closed

As a user, I can use a directory structure to store metadata files that is similar to Docker registry

Added by bserdar almost 7 years ago. Updated about 5 years ago.

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

0%

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

Description

We are working on a Docker registry that uses the same metadata as Crane, and there is also some interest to make this registry a read-write registry. Some modifications to the existing metadata file structure would make this easier.

1) Use a directory structure to store metadata files that is similar to Docker registry. For instance:

rhel7 would be stored as:
    .../rjel7/pulpmd.json
rhel7_rsyslog would be stored as:
    .../rhel7/rsyslog/pulpmd.json

If this is done, we don't need to pre-load all metadata files on startup, and then watch the directory for changes.

2) Include tag and blob information in metadata.

-Example:
   .../rhel7/rsyslog/pulpmd.json
   .../rhel7/rsyslog/tags/latest.json: contains blob digests (manifest and layers)-

This would be really useful for the Docker registry implementation, because at startup, it downloads all manifests to create a blob index. If all blobs are available, we can construct the blob index from the metadata.
Moved to a separate story #2862.


Related issues

Related to Crane - Story #2862: As a user, I can include tag and blob information in metadataCLOSED - WONTFIX

Actions
Actions #1

Updated by ttereshc almost 7 years ago

Before converting this issue to a story and accepting it, we need more feedback from core devs who are familiar with docker related development.
mhrivnak, @ipanova maybe you can look into it? Thanks.

Actions #2

Updated by mhrivnak almost 7 years ago

Thanks for the ideas! We'll want to split this into two separate issues.

1) Good idea. It makes fine sense, and I can't think of any downside.

2) This deserves some detailed thought. I'd like to better understand the need on your side. Perhaps we should have a brainstorm with ipanova after we finish the manifest list support?

Actions #3

Updated by ttereshc almost 7 years ago

  • Related to Story #2862: As a user, I can include tag and blob information in metadata added
Actions #4

Updated by ttereshc almost 7 years ago

  • Tracker changed from Issue to Story
  • Subject changed from RFE: Changes to pulp_docker and crane metadata structure to As a user, I can use a directory structure to store metadata files that is similar to Docker registry
  • Description updated (diff)
  • % Done set to 0
Actions #5

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #6

Updated by bmbouter about 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #7

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF