Bug #37399
closedContainer gateway needs to send ACCEPT headers from podman to Pulp
Description
https://github.com/pulp/pulp_container/issues/1509 causes the old datatypes to no longer be stored, so we need to start sending ACCEPT headers from podman.
The headers look like:
'Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json,application/vnd.oci.image.index.v1+json'
curl example to Pulp:
curl -L --cert foreman-client.crt --key foreman-client.key 'https://smart-proxy.com/pulpcore_registry/v2/prometheus_busybox/manifests/latest' --header 'Accept: application/vnd.docker.distribution.manifest.list.v2+json,application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json,application/vnd.oci.image.index.v1+json'
Updated by Ian Ballou 7 months ago
Also need to see why podman receives HTML instead of MANIFEST_UNKNOWN:
StatusCode: 404, "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">..."
Updated by The Foreman Bot 7 months ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/Katello/smart_proxy_container_gateway/pull/38 added
Updated by Ian Ballou 7 months ago
- Category set to Foreman Proxy Content
- Target version set to Katello 4.13.0
Updated by Ian Ballou 6 months ago
- Status changed from Ready For Testing to Closed