Actions
Issue #7620
closedpulpcore registry api doesn't like Accept headers when syncing from pulp
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 85
Quarter:
Description
When i have a pulp3 installation with pulp_container 2.0.1 hosting a container repository and i setup a 2nd pulp3 server and try to sync from it, i get an error:
{"errors":[{"code":"UNSUPPORTED","message":"Could not satisfy the request Accept header.","detail":{}}]
It seems that pulp3 doesn't like the Accept header that the other pulp3 server is requesting:
here's the accept header from the syncing pulpcore server:
"application/vnd.docker.distribution.manifest.v2+json,application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.oci.image.index.v1+json,application/vnd.oci.image.manifest.v1+json"
if i delete that header on the request (in our shim layer), it goes through fine.
Actions
Fixed Renderer to handle properly Manifest and Blob responses.
closes #7620 https://pulp.plan.io/issues/7620