Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-4322

The image mirrored unsuccessfully can be pulled successfully

XMLWordPrintable

      Description of problem:

      In quay 3.7.7,  the image mirrored unsuccessfully can be pulled successfully

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

       

      quay v3.7.7-3
      
      registry.redhat.io/quay/quay-operator-rhel8@sha256:9fdd64d12f06fb2fb5ce61ea11eab149ca727a75e31a75e44cd9d1f97b78d25e
      
      registry.redhat.io/quay/quay-rhel8@sha256:c79da2575c02bf6a360ab113fffb1e39c60ba2edcb231a6edbd9f6cb2c6085b7
      

      How reproducible:

      always

      Steps to Reproduce:
      1. configure mirror as below and trigger the mirror

      mirror configuration

      2. check mirror result 

      the mirror log

      The mirror faiure message is 

      time="2022-08-24T13:38:37Z" level=fatal msg="Uploading manifest list failed, attempted the following formats: application/vnd.docker.distribution.manifest.list.v2+json(uploading manifest 3.4.9-alpine to quayregistry-quay-quay-enterprise.apps.whu411az62.qe.azure.devcluster.openshift.com/mirror_test/repo_mirror_rollback_default: manifest invalid: manifest invalid), application/vnd.oci.image.index.v1+json(uploading manifest 3.4.9-alpine to quayregistry-quay-quay-enterprise.apps.whu411az62.qe.azure.devcluster.openshift.com/mirror_test/repo_mirror_rollback_default: manifest invalid: manifest invalid)"

       

      3. try to pull the image mirrored unsuccessfully, such as "3.4.9-alpine"

      Actual results:

      The image mirrored unsuccessfully can be pulled successfully

       

      # podman pull  --tls-verify=false quayregistry-quay-quay-enterprise.apps.whu411az62.qe.azure.devcluster.openshift.com/miror_test/repo_mirror_rollback_default:3.4.9-alpine
      Trying to pull quayregistry-quay-quay-enterprise.apps.whu411az62.qe.azure.devcluster.openshift.com/mirror_test/repo_mirror_rollback_default:3.4.9-alpine...
      Getting image source signatures
      Copying blob a3ed95caeb02 done  
      Copying blob a3ed95caeb02 done  
      Copying blob a3ed95caeb02 done  
      Copying blob a3ed95caeb02 done  
      Copying blob bd664a9c3aab done  
      Copying blob a3ed95caeb02 skipped: already exists  
      Copying blob a4c1e43a7431 done  
      Copying blob a3ed95caeb02 skipped: already exists  
      Copying blob a3ed95caeb02 skipped: already exists  
      Copying blob a2f707c3f358 done  
      Copying blob ba994cb451f5 done  
      Copying blob 940580c848a7 done  
      Writing manifest to image destination
      Storing signatures
      fe934ead73ad6424a0307ef7389dabc32627ecc6be94992e103513fe2cc71a14
      # echo $?
      0 
      

      Expected results:

      The image mirrored unsuccessfully should not be pulled successfully

              bcaton@redhat.com Brandon Caton
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: