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

Cannot pull "Manifest V2 Schema 1" images with containerd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 6.18.0
    • Fix Version/s: 7.12.3
    • Component/s: None
    • Labels:
    • Severity:
      Medium

      Description

      Steps to reproduce:
      -setup remote repo proxying "https://quay.io/"
      -disable "Block pulling of image manifest v2 schema 1" in remote repo settings
      -try pulling "coreos/flannel-cni:v0.3.0" and notice the error:
      ctr image pull 10.168.0.111:12160/quay-remote/coreos/flannel-cni:v0.3.0 --skip-verify --plain-http --user admin:password1
      10.168.0.111:12160/quay-remote/coreos/flannel-cni:v0.3.0: resolving |--------------------------------------|
      elapsed: 0.1 s total: 0.0 B (0.0 B/s)
      ctr: httpReaderSeeker: failed open: could not fetch content descriptor sha256:025e1b6315d48f7021ebc0fad4be90f788109532080507e2174c289635751bef (application/vnd.docker.distribution.manifest.v1+prettyjws) from remote: not found

      Request.log:
      20200323182604|5|REQUEST|10.168.15.232|admin|GET|/api/docker/quay-remote/v2/coreos/flannel-cni/manifests/sha256:025e1b6315d48f7021ebc0fad4be90f788109532080507e2174c289635751bef|HTTP/1.1|404|0
      20200323182604|7|REQUEST|10.168.15.232|admin|GET|/api/docker/quay-remote/v2/coreos/flannel-cni/blobs/sha256:025e1b6315d48f7021ebc0fad4be90f788109532080507e2174c289635751bef|HTTP/1.1|404|157

      -try pulling with docker cli and directly from "quay.io", notice the success:
      docker pull mill.jfrog.info:12160/quay-remote/coreos/flannel-cni:v0.3.0
      v0.3.0: Pulling from quay-remote/coreos/flannel-cni
      add3ddb21ede: Pull complete
      114533101008: Pull complete
      e8aefe4c3300: Pull complete
      53dd8766ff50: Pull complete
      886fe0e6a209: Pull complete
      b7b6e786befa: Pull complete
      0678e6c3bbf1: Pull complete
      3f085226af2c: Pull complete
      cb53f6fd41bb: Pull complete
      634f3aaa2eb9: Pull complete
      21e12609b41e: Pull complete
      775f6963ab2f: Pull complete
      ed381e0cc19e: Pull complete
      e388b5433db2: Pull complete
      d964a176fb57: Pull complete
      a5bd106e94ef: Pull complete
      Digest: sha256:734b4222110980abd0abe74974b6ca36452d26bdd2a20e25f37fdf7fdc2da170
      Status: Downloaded newer image for mill.jfrog.info:12160/quay-remote/coreos/flannel-cni:v0.3.0
      mill.jfrog.info:12160/quay-remote/coreos/flannel-cni:v0.3.0

      -other images work with containerd:
      ctr image pull 10.168.0.111:12160/quay-remote/coreos/flannel:v0.12.0 --skip-verify --plain-http --user admin:password1
      10.168.0.111:12160/quay-remote/coreos/flannel:v0.12.0: resolved |++++++++++++++++++++++++++++++++++++++|
      manifest-sha256:6d451d92c921f14bfb38196aacb6e506d4593c5b3c9d40a8b8a2506010dc3e10: done |++++++++++++++++++++++++++++++++++++++|
      layer-sha256:fd2c2618e30c1ab5b202b037ff57c48d7f126362988e53f2fb19049a60f895d4: done |++++++++++++++++++++++++++++++++++++++|
      layer-sha256:921b31ab772b38172fd9f942a40fae6db24decbd6706f67836260d47a72baab5: done |++++++++++++++++++++++++++++++++++++++|
      layer-sha256:4882ae1d65d36edffcabcc690bffe73ee71ee4e182b16cf9aa64aa6ebf75efb4: done |++++++++++++++++++++++++++++++++++++++|
      layer-sha256:ac6ef98d5d6da47c785716c7d887a71495b637167dd4f9efb484c6e21514e43d: done |++++++++++++++++++++++++++++++++++++++|
      config-sha256:4e9f801d2217e98e94de72cefbcb010a7f2caccf03834dfd12a8e60abcaaecfd: done |++++++++++++++++++++++++++++++++++++++|
      layer-sha256:8ba0f465eea4a76dcd8928341b8406ea90633575b9ca92996ba8adc7a1ed963b: done |++++++++++++++++++++++++++++++++++++++|
      elapsed: 4.3 s total: 12.7 M (2.9 MiB/s)
      unpacking linux/amd64 sha256:6d451d92c921f14bfb38196aacb6e506d4593c5b3c9d40a8b8a2506010dc3e10...
      done

        Attachments

          Activity

            People

            Assignee:
            omriz Omri Ziv
            Reporter:
            mattheww Matthew Wang
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

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