Project

Profile

Help

Issue #1404

closed

Sync from un-namespaced V2 repository fails

Added by twaugh almost 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - Docker:
master
Platform Release:
Target Release - Docker:
2.0.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

When attempting to sync an un-namespaced repository from a V2 registry, the sync fails with 'Not found'.

With V1 registries there was a default namespace of 'library', so 'docker pull myimage' would really be pulling 'library/myimage'.

I don't believe this to be the case with V2. Wheresa the V1 API was specified in terms of /v1/<namespace>/<repository>/..., the V2 API is specified in terms of /v2/<name>/... .

As a result, when pulp-docker adds the 'library/' prefix, this fails with V2 registries.


Related issues

Related to Docker Support - Story #1454: As a user, I can sync v2 content from docker hubCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions
Blocked by Docker Support - Story #1144: As a user, I can sync from a v2 registry that requires RFC7235 authorization headersCLOSED - CURRENTRELEASEamacdona@redhat.com

Actions

Also available in: Atom PDF