Bug 2181254

Summary: Add support of in-toto mediaType
Product: Red Hat Satellite Reporter: Vladimír Sedmík <vsedmik>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: addubey
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: dalley, dkliban, elepape, ggainey, hyu, jbhatia, rchan, rlavi, shwsingh
Target Milestone: 6.14.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: pulp-container-2.14.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.

Comment 6 Ina Panova 2023-10-10 09:48:42 UTC
*** Bug 2239975 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2023-11-08 14:19:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.14 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6818