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

ctr pull return the wrong manifest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 2 - Critical
    • Resolution: Unresolved
    • Affects Version/s: 7.10.5
    • Fix Version/s: None
    • Component/s: Docker Image
    • Labels:
      None
    • Severity:
      Critical

      Description

      We had a problem with pull images on version 7.9.0. The problem was reproduced as in RTFACT-23767 ticket. After upgrading to 7.10.5 it looked like the problem was gone.
      But at the moment we again have problems with images created after the update. The problem is reproduced using the ctr utility and when we pull the image through digest by docker.

      ctr image pull docker.artifactory.example.net/test:7c4739ee
      docker.artifactory.example.net/test:7c4739ee: resolved |++++++++++++++++++++++++++++++++++++++| 
      manifest-sha256:a247a739f18151ae399dd2aeb9a0c654cf06e10de1ed9fdf3dca4df805aec68d: done |++++++++++++++++++++++++++++++++++++++| 
      elapsed: 0.2 s total: 0.0 B (0.0 B/s) 
      ctr: failed commit on ref "manifest-sha256:a247a739f18151ae399dd2aeb9a0c654cf06e10de1ed9fdf3dca4df805aec68d": commit failed: unexpected commit digest sha256:e701b747beae3a96a3a7f57133d18c603e51282bd4cf4c100468ea7d5852221f, expected sha256:a247a739f18151ae399dd2aeb9a0c654cf06e10de1ed9fdf3dca4df805aec68d: failed precondition
      
      docker pull docker.artifactory.example.net/test@sha256:a247a739f18151ae399dd2aeb9a0c654cf06e10de1ed9fdf3dca4df805aec68d 
      
      sha256:a247a739f18151ae399dd2aeb9a0c654cf06e10de1ed9fdf3dca4df805aec68d: Pulling from test
      manifest verification failed for digest sha256:a247a739f18151ae399dd2aeb9a0c654cf06e10de1ed9fdf3dca4df805aec68d
      

      pull and after that push by tag change image digest to sha256:5aaf0f7b8777bd585d128911059fa6552f6f24149b71a609aaa327868285a96c
      and image pull saccesfully

      docker pull docker.artifactory.example.net/test:7c4739ee
      docker push docker.artifactory.example.net/test:7c4739ee
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            inkognito0609 Anatoly Kudryashov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-23923 -
                SYNCHRONIZED
                • Last Sync Date: