Actions
Issue #5146
closedDocker sync missing schema version 1 manifests
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
I noticed that some schema version 1 manifests are missing in some cases. In syncing BusyBox there are some, but in syncing library/hello-world there are none. More details:
Create repo:
http POST http://localhost:24817/pulp/api/v3/repositories/ name=bar
(Save REPO_HREF)
Create remote:
http POST http://localhost:24817/pulp/api/v3/remotes/docker/docker/ name='library/hello-world' upstream_name='library/hello-world' url='https://registry-1.docker.io' policy='on_demand'
(Save REMOTE_HREF)
Sync:
http POST ':24817'$REMOTE_HREF'sync/' repository=$REPO_HREF`` mirror=False
Try to view schema v1 manifests:
http :24817/pulp/api/v3/content/docker/manifests/?repository_version_added=/pulp/api/v3/repositories/<id>/versions/1/ | jq -r '.results[] | select(.schema_version == 1)'
This query finds nothing. I am expecting to see two manifests.
I confirmed in Foreman with Pulp 2 that there are supposed to be two schema v1 manifests in library/hello-world. I also tried searching Pulp 3 for them by their digests and couldn't find them.
Related issues
Actions