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

The docker v1 to v2 migration process does not correctly log the ending

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.7.4
    • Fix Version/s: None
    • Component/s: Docker, Logging
    • Labels:
      None

      Description

      The docker v1 to v2 migration process does not correctly log the ending. The message "Finished docker migration from '<docker-v1-repo-name>' to '<docker-v2-repo-name>'" appears before tagging is complete.

      The logs end up looking like this:

      2016-04-29 03:42:45,290 [art-exec-1] [INFO ] (o.j.r.d.v.m.DockerMigrator:83) - Finished docker migration from 'docker' to 'dockerv2'
      2016-04-29 03:42:45,291 [pool-12-thread-1] [INFO ] (o.j.r.d.v.m.DockerMigrator:138) - Starting tag migration for 'busybo/latest/manifest.json'
      2016-04-29 03:42:45,456 [pool-12-thread-1] [INFO ] (o.j.r.d.v.m.DockerMigrator:147) - Finished tag migration for 'busybo/latest/manifest.json'
      

      This makes it hard to determine when the migration is complete. The ""Finished docker migration from..." should appear only at the end, when everything is complete.

      To Reproduce

      Simply perform the migration of a v1 docker repo to a v2 repo as explained in https://www.jfrog.com/confluence/display/RTF/Using+Docker+V1#UsingDockerV1-MigratingaV1repositorytoV2.

        Attachments

          Activity

            People

            • Assignee:
              uriahl Uriah Levy
              Reporter:
              arturoa Arturo Aparicio
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: