Project

General

Profile

Actions

Bug #37399

open

Container gateway needs to send ACCEPT headers from podman to Pulp

Added by Ian Ballou 17 days ago. Updated 16 days ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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'

Actions #1

Updated by Ian Ballou 17 days ago

Also need to see why podman receives HTML instead of MANIFEST_UNKNOWN:

StatusCode: 404, "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">..."

Actions #2

Updated by The Foreman Bot 17 days 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
Actions #3

Updated by Ian Ballou 17 days ago

  • Category set to Foreman Proxy Content
  • Target version set to Katello 4.13.0
Actions #4

Updated by Quinn James 16 days ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF