Project

Profile

Help

Story #2602

closed

As a user, I want docker repos to have "mirror on sync"

Added by tomckay@redhat.com almost 8 years ago. Updated almost 4 years ago.

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

0%

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

Description

When an image is synced from a registry, an option to allow only the maintaining of manifests and tags that exist in the upstream registry to exist after sync.

Actions #2

Updated by mhrivnak almost 8 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0
Actions #3

Updated by bmbouter over 7 years ago

How will the feature be enabled? Is it an importer option? What will the option be named?

Actions #4

Updated by tomckay@redhat.com over 7 years ago

I assume the feature would be exactly equivalent to the RPM feature. Are there differences I'm unaware of? "What I have locally after the sync is equal to what I have remotely."

Looking at the rpm docs i see "remove_missing" as the equivalent. I am not familiar with the details in this area just the higher level concept need. If there are other options that pair with that one, please note them.

Thanks!

Actions #5

Updated by bmbouter over 7 years ago

For reference here are the rpm docs: http://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html?highlight=remove_missing

OK so to make it exactly like the rpm feature, the feature request is to add a field called remove_missing which will perform the following:

If True, as the repository is synchronized, old <things> will be removed. Valid values to this option are True and False; defaults to False

What are the <things> in ^ that need to be removed? Blobs, tags, layers, all of these? I think if we can clarify that, I would see it clearly enough to groom it.

Actions #6

Updated by tomckay@redhat.com over 7 years ago

Yes, I would say all of the artifacts in the repo should match. The result should be zero difference between a new repo created and synced and this repo re-synced.

Actions #7

Updated by mhrivnak over 7 years ago

bmbouter wrote:

For reference here are the rpm docs: http://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html?highlight=remove_missing

OK so to make it exactly like the rpm feature, the feature request is to add a field called remove_missing which will perform the following:

[...]

What are the <things> in ^ that need to be removed? Blobs, tags, layers, all of these? I think if we can clarify that, I would see it clearly enough to groom it.

Rather than "old things", I think it should be "any local content not present in the remote repo".

Actions #8

Updated by bmbouter over 7 years ago

  • Groomed changed from No to Yes

Thanks for the responses. So to recap the feature: the docker_importer will have a new option added called remove_missing which will perform the following:

If True, as the repository is synchronized, any local content not present in the remote repository will be removed. Valid values to this option are True and False; defaults to False

I touched up the checklist items some and I'm marking it as groomed. If there are other questions or comments please post.

Actions #9

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added
Actions #10

Updated by ipanova@redhat.com almost 4 years ago

  • Status changed from NEW to CLOSED - WONTFIX

This is addressed in pulp_container and pulp3

Also available in: Atom PDF