Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-13317

Simultaneously uploading images with common layers can cause some of the pushes to fail

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.0
    • Component/s: Docker
    • Labels:
      None

      Description

      Simultaneously uploading images with common layers can cause some of the pushes to fail.

      To reproduce

      1. Create an Artifactory instance with Docker
      2. Tag the same image with three different tags so that they be pushed to Artifactory
      3. Write a script that will push the image simultaneously
      4. Run the script and notice the artifatory.log error and the client failures (time dependent so may need to delete uploaded image, remove from trash and re-run script.)

      Sample Script

      #!/bin/sh                                                                                                                                                                                    
      docker push localhost/nginx > 1.out 2> 1.err &
      docker push localhost/nginx-1 > 2.txt 2> 2.err &
      docker push localhost/nginx-2 > 3.txt 2> 3.err &
      

      Artifactory error/s

      2017-01-05 20:56:12,874 [http-nio-8081-exec-3] [ERROR] (o.j.r.d.v.h.DockerManifestSyncer:69) - Could not find temp blob 'nginx-2/_uploads/sha256__51f5c6a04d83efd2d45c5fd59537218924bc46705e3de6ffc8bc07b51481610b'
      2017-01-05 20:56:12,875 [http-nio-8081-exec-3] [ERROR] (o.j.r.d.v.r.h.DockerV2LocalRepoHandler:283) - Failed syncing manifest blobs, canceling manifest upload
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Dudim Dudi Morad
                Reporter:
                arturoa Arturo Aparicio
                Assigned QA:
                Liza Dashevski (Inactive)
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: