Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2181254 - Add support of in-toto mediaType
Summary: Add support of in-toto mediaType
Keywords:
Status: CLOSED ERRATA
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:
: 2239975 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-23 13:00 UTC by Vladimír Sedmík
Modified: 2024-03-12 02:58 UTC (History)
9 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: 2023-11-08 14:19:02 UTC
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
Red Hat Knowledge Base (Solution) 7046466 0 None None None 2023-11-24 02:09:07 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:19:17 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.

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


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