Project

General

Profile

Actions

Bug #37399

closed

Container gateway needs to send ACCEPT headers from podman to Pulp

Added by Ian Ballou 7 months ago. Updated 6 months ago.

Status:
Closed
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 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\">..."

Actions #2

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
Actions #3

Updated by Ian Ballou 7 months ago

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

Updated by Quinn James 7 months ago

  • Triaged changed from No to Yes
Actions #5

Updated by Ian Ballou 6 months ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Ian Ballou 6 months ago

  • Fixed in Releases Katello 4.13.0 added
Actions

Also available in: Atom PDF