Project

Profile

Help

Story #4400

As a user, I can download Foreign layers

Added by amacdona@redhat.com 9 months ago. Updated about 2 months ago.

Status:
NEW
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Platform Release:
Blocks Release:
Target Release - Docker:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

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.

History

#1 Updated by jortel@redhat.com 9 months ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes

#2 Updated by amacdona@redhat.com 9 months 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.

#3 Updated by amacdona@redhat.com 9 months ago

  • Groomed changed from Yes to No
  • Sprint Candidate changed from Yes to No

#4 Updated by ipanova@redhat.com 9 months 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.

#5 Updated by bmbouter 7 months ago

  • Tags deleted (Pulp 3)

#6 Updated by ipanova@redhat.com about 2 months 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

Please register to edit this issue

Also available in: Atom PDF