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

Push image with already existing layers causes incorrect layout for the new image

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 4.11.0, 4.11.1, 4.11.2, 4.12.0
    • Fix Version/s: 4.12.1
    • Component/s: Docker
    • Labels:
      None
    • Severity:
      Critical
    • Regression:
      Yes
    • Requirement Status:

      UNCOVERED

      Description

      Pushing image with already existing layers to virtual repository causes the layers to be copied to incorrect location.
      From functional perspective, still able to pull the new image, but need to fix the layout.

      To reproduce:
      1. pull busybox
      2. push it to virtual docker repository and tag it busybox:1
      3. tag it again as busybox:2 and push it

      Bug:
      Only the newly created layers, in this case the manifestjson will appear in the correct layout, i.e. /docker-repository/busybox/2, existing layers will appear in the following layout, /docker-repository/docker-repository/busybox/2.

      Note: Pull command will work as expected.

        Attachments

          Forms

            Activity

                People

                Assignee:
                nadavy Nadav Yogev
                Reporter:
                matank Matan Katz
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    PagerDuty