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

System Artifacts from deprecated global repo 'repo' fail during sha256 migration

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.5.1
    • Fix Version/s: 6.0.0
    • Component/s: Artifact Storage
    • Labels:
      None
    • Sprint:
      Leap 25, Leap 26, Leap 27, Leap 28, Leap 29, Leap 30

      Description

      Situation:
      Customer ran SHA256 Migration on Artifactory 5.5.1, and the migration completed with errors, and generated a file named: sha2_migration_badFiles-1509834733505.list

      Inside, this file contained two artifacts that failed migration:

      Paths that failed conversion:
      -----------------------------
      repo:.index/nexus-maven-repository-index.gz --> Repository 'repo' not local, cache or virtual
      repo:.index/nexus-maven-repository-index.properties --> Repository 'repo' not local, cache or virtual

      After consulting around, these two artifacts are likely system remnants of the cache of the global repo 'repo', where the virtual had contained a maven repository (possibly maven indexer related) with these files, so when repo was deprecated, the artifacts had their path removed, but remained in the filestore, causing issues with the migration.

      Reproduction Steps:
      Arti 3.x, have repo enabled in maven indexer, upgrade to 5.5.1 and enable migration. (TBD)

      Workaround/fix:
      1) Ensure maven indexer does not have the repository 'repo' under included repositories.
      2) Create virtual generic repository named 'repo', restart Artifactory to trigger migration. Migration should complete successfully. Afterwards, delete the virtual repository.

        Attachments

          Activity

            People

            • Assignee:
              uriahl Uriah Levy
              Reporter:
              loreny Loren Yeung
              Assigned QA:
              Konstantin Shenderov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: