Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18605

Add support of in-toto mediaType

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.13.0
    • Pulp
    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None

      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.

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Adarsh Dubey Adarsh Dubey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: