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 2239975 - Failed to sync signed container images with Simple Signing media type
Summary: Failed to sync signed container images with Simple Signing media type
Keywords:
Status: CLOSED DUPLICATE of bug 2181254
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.13.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.15.0
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-21 03:10 UTC by Hao Chang Yu
Modified: 2023-11-24 02:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-10 09:48:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github pulp pulp_container issues 1397 0 None open Failed to sync signed container images with Simple Signing media type 2023-09-21 04:44:16 UTC
Red Hat Issue Tracker SAT-20264 0 None None None 2023-09-21 03:11:42 UTC
Red Hat Knowledge Base (Solution) 7046466 0 None None None 2023-11-24 02:10:16 UTC

Description Hao Chang Yu 2023-09-21 03:10:06 UTC
Description of problem:
Getting the following error when syncing a signed container image in quay.io.
--------------------
  error:
    traceback: |2
        File "/usr/lib/python3.9/site-packages/pulpcore/tasking/pulpcore_worker.py", line 452, in _perform_task
          result = func(*args, **kwargs)
        File "/usr/lib/python3.9/site-packages/pulp_container/app/tasks/synchronize.py", line 41, in synchronize
          return dv.create()
        File "/usr/lib/python3.9/site-packages/pulpcore/plugin/stages/declarative_version.py", line 161, in create
          loop.run_until_complete(pipeline)
        File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete
          return future.result()
        File "/usr/lib/python3.9/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline
          await asyncio.gather(*futures)
        File "/usr/lib/python3.9/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__
          await self.run()
        File "/usr/lib/python3.9/site-packages/pulp_container/app/tasks/sync_stages.py", line 140, in run
          validate_manifest(content_data, media_type, digest)
        File "/usr/lib/python3.9/site-packages/pulp_container/app/utils.py", line 212, in validate_manifest
          raise ManifestInvalid(
    description: '{''errors'': [{''code'': ErrorDetail(string=''MANIFEST_INVALID'',
      code=''parse_error''), ''message'': ErrorDetail(string="layers.0.mediaType:
      ''application/vnd.dev.cosign.simplesigning.v1+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=''5a2b6b29e1be93771ca83695588e5c94103b1988d60b125086ee1bdeceddef0c'',
      code=''parse_error'')}}]}'
--------------------

How reproducible:
Easy


Steps to Reproduce:
1. Create a container repository to sync from "https://quay.io/prometheus-operator/admission-webhook"
2. After that sync the repository

Actual results:

Failed with:
    description: '{''errors'': [{''code'': ErrorDetail(string=''MANIFEST_INVALID'',
      code=''parse_error''), ''message'': ErrorDetail(string="layers.0.mediaType:
      ''application/vnd.dev.cosign.simplesigning.v1+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=''5a2b6b29e1be93771ca83695588e5c94103b1988d60b125086ee1bdeceddef0c'',
      code=''parse_error'')}}]}'

Expected results:
No error

Additional info:

Satellite 6.12 can sync the repository without error.

Comment 4 Ina Panova 2023-10-10 09:48:42 UTC
That's correct. This is dup and is fixed in pulp-container 2.14.4

*** This bug has been marked as a duplicate of bug 2181254 ***


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