Bug 2181254 - Add support of in-toto mediaType
Summary: Add support of in-toto mediaType
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.13.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.14.0
Assignee: satellite6-bugs
QA Contact: addubey
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-23 13:00 UTC by Vladimír Sedmík
Modified: 2023-07-28 09:43 UTC (History)
7 users (show)

Fixed In Version: pulp-container-2.14.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulp_container issues 1227 0 None closed Add support of in-toto mediaType 2023-03-28 15:06:44 UTC
Red Hat Issue Tracker SAT-18605 0 None None None 2023-06-26 08:56:53 UTC

Description Vladimír Sedmík 2023-03-23 13:00:22 UTC
Description of problem:
When trying to sync one particular image from quay.io in Satellite, I get a warning that in-toto mediaType is not supported, preventing me from syncing that image.


Version-Release number of selected component (if applicable):
6.13.0 snap 13


How reproducible:
always


Steps to Reproduce:
1. Create a docker-type repo:
   url: https://quay.io
   name: satelliteqe/robottelo
2. Try to sync it.


Actual results:
Katello::Errors::Pulp3Error

{'errors': [{'code': ErrorDetail(string='MANIFEST_INVALID', code='parse_error'), 'message': ErrorDetail(string="layers.0.mediaType: 'application/vnd.in-toto+json' is not one of ['application/vnd.oci.image.layer.v1.tar', 'application/vnd.oci.image.layer.v1.tar+gzip', 'application/vnd.oci.image.layer.v1.tar+zstd', 'application/vnd.oci.image.layer.nondistributable.v1.tar', 'application/vnd.oci.image.layer.nondistributable.v1.tar+gzip', 'application/vnd.oci.image.layer.nondistributable.v1.tar+zstd']", code='parse_error'), 'detail': {'digest': ErrorDetail(string='sha256:88c309cdeefa131e80756239508286fd26fc9f993b85dd2037fb83803e11c727', code='parse_error')}}]}


Expected results:
I'd like to have that mediaType support added.

Comment 1 Robin Chan 2023-03-28 15:06:45 UTC
The Pulp upstream bug status is at closed. Updating the external tracker on this bug.

Comment 2 Robin Chan 2023-03-28 15:06:47 UTC
All upstream Pulp bugs are at MODIFIED+. Moving this bug to POST.

Comment 3 Brad Buckingham 2023-07-26 16:12:37 UTC
Removing Triaged keyword to go back through high-level triage for the proposed releases.


Note You need to log in before you can comment on or make changes to this bug.