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

Docker v1 manifest is served when Metadata Retrieval Cache Period is set to 0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docker
    • Labels:
      None
    • Severity:
      Medium

      Description

      Setup:

      Site A has local repository repo-local

      Site B has remote repository pointing to repo-local on Site A,  Metadata Retrieval Cache Period = 0

      Site B repository's cache is empty (it's enough for it not to have the artifact you request)

       

      Scenario:

      1. Upload docker image (docker push) to Site A's local repository (with v2 manifest.json)
      2. Request the image from Site B's remote repository (docker pull)

       

      Expected:

      Docker image is served without any issues

       

      Observed:

      First run results in:

      root@machine:~# docker pull repo.registry.local/image123
      Using default tag: latest
      latest: Pulling from image123
      unexpected EOF

      Subsequent pulls work fine for as long as the image is cached.

      Manifest.json is in v1 schema format

       

      Workaround:

      Set Metadata Retrieval Cache Period to any other value

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              gskolysz Grzegorz Skołyszewski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

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