Project

Profile

Help

Story #4400

closed

As a user, I can download Foreign layers

Added by amacdona@redhat.com about 5 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Low
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_container/458":https://github.com/pulp/pulp_container/issues/458


A new field was added to skip foreign layers with this issue: https://pulp.plan.io/issues/4171

The new field `include_foreign_layers` defaults to False and is not included on the Serializer, so for now it will always skip.

This story will require

  1. Add `include_foreign_layers` to the serializer
  2. add logic to download the foreign layer, which will need to retrieve the layer with an absolute url instead of a relative url.
Actions #1

Updated by jortel@redhat.com about 5 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #2

Updated by amacdona@redhat.com about 5 years ago

  • Priority changed from Normal to Low

There is some complexity for implementing this. If we sync foreign layers, we will have to modify the manifests so they will not be treated as foreign layers by the client. This has implications for signed layers because the digests will change.

Because of this, I am prioritizing this as LOW. If users need this, please add your use case here.

Actions #3

Updated by amacdona@redhat.com about 5 years ago

  • Groomed changed from Yes to No
  • Sprint Candidate changed from Yes to No
Actions #4

Updated by ipanova@redhat.com about 5 years ago

https://docs.docker.com/registry/deploying/#considerations-for-air-gapped-registries
https://github.com/moby/moby/pull/33151/files#diff-77a3b9683ea5b78ddbf146c0cbad74e1R33

there is a daemon option allow-nondistributable-artifacts, if it is set then during image pull, client will try to pull from the registry and in case of failure it will follow the url.

Actions #5

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)
Actions #6

Updated by ipanova@redhat.com over 4 years ago

  • Subject changed from As a user, I can sync from a repository with Forein Layers to As a user, I can download Foreign layers
Actions #7

Updated by ipanova@redhat.com over 4 years ago

  • Project changed from Docker Support to Container Support
Actions #8

Updated by ipanova@redhat.com almost 4 years ago

  • Parent issue set to #6634
Actions #9

Updated by ipanova@redhat.com almost 3 years ago

  • Parent issue deleted (#6634)
Actions #10

Updated by pulpbot over 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF