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

Can't pull image by ID

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • -area/registry, quay
    • False
    • False
    • Undefined

      I got here from testing this bug https://bugzilla.redhat.com/show_bug.cgi?id=1947229.
      tl;dr
      oc image mirror -f mapping.txt --keep-manifest-list

      mapping.txt contents:
      registry.redhat.io/openshift4/compliance-content-rhel8@sha256:b43014f36d2654e6f64d82fb2ef7d97511b74dc95880f04038a65a850d81ccff=docker.io/soltysh/compliance-content-rhel8

      after the mirroring I'm trying to pull and I'm getting:

      $ podman pull quay.io/soltysh/compliance-content-rhel8@sha256:b43014f36d2654e6f64d82fb2ef7d97511b74dc95880f04038a65a850d81ccff 
      Trying to pull quay.io/soltysh/compliance-content-rhel8@sha256:b43014f36d2654e6f64d82fb2ef7d97511b74dc95880f04038a65a850d81ccff...
      Error: Error initializing source docker://quay.io/soltysh/compliance-content-rhel8@sha256:b43014f36d2654e6f64d82fb2ef7d97511b74dc95880f04038a65a850d81ccff: Error reading manifest sha256:b43014f36d2654e6f64d82fb2ef7d97511b74dc95880f04038a65a850d81ccff in quay.io/soltysh/compliance-content-rhel8: manifest unknown: manifest unknown
      

      when I change the mapping.txt file to use tag as input after mirroring I can pull by ID. Similar operation works just fine on docker.io

              Unassigned Unassigned
              maszulik1@redhat.com Maciej Szulik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: