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

System Export/Import in version 5.11.1, 6.0.0 and 6.0.1 is not migrating users/groups/permission targets

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0.0, 5.11.1, 5.8.9, 6.0.1
    • Fix Version/s: 6.4.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Leap 33, Leap 34

      Description

      In version 5.11.1 to 5.11.1 the import finishes without any errors, but the users/groups/permission targets are not migrated. The Repositories are migrated as they are in a different table in the database. When we check the Users page in the new imported 5.11.1 it still has the default users. The access_users database table also doesn't have the users. The issue is reproducible in version 6.0.0 and 6.0.1 as well.  

      After the import when you restart the instance you will also notice that the default permission targets  "Anything" and "Any Remote"  in Artifactory have been wiped out by the System Import process. 

      The "access.bootstrap.json" file in the export directory has all the users/groups/permission targetsand still the import does not migrate them.

      The issue is reproducible in version 6.0.0 and 6.0.1 as well.  

      Steps to Reproduce:

      1.Create a Artifactory HA cluster with verison 5.11.1

      2.Create a few Users, Groups and Permission targets in this instance

      3.Take a System Export

      4.Create a new Artifactory cluster with version 5.11.1 with only the Primary node running

      5.Run full System Import with the export taken earlier. The import finishes without any errors, but this is misleading as the users/groups/permission targets are not migrated. If you navigate to the users/groups/permission targets pages you will notice that new Users, Groups and Permission targets created in the old instance have note been migrated to this new instance.

      6.After a restart of the instance, the system import process has wiped out the default permission targets  "Anything" and "Any Remote"  in Artifactory. 

        Attachments

          Activity

            People

            • Assignee:
              saffih Saffi Hartal (Inactive)
              Reporter:
              nihalc@jfrog.com Nihal Reddy Chinna Choudhary
              Assigned QA:
              Barak Hacham
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: