Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3462

Migration of v6.4 niogit fails in 'system to space configuration repository migration'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.12.0.GA
    • 7.8.0.GA, 7.9.0.GA, 7.9.1.GA, 7.12.0.GA
    • Migration Tool
    • RHPAM 7.8

      migration-tools.sh included in rhpam-7.8.0-migration-tool.zip

       

    • False
    • False
    • CR1
    • CR2
    • ?
    • Undefined
    • Hide
      1. extract attached .niogit archive(niogit.64.zip)  in any working directory
      2. run migration tool like the following 

                 $ rhpam-7.8.0-migration-tool/bin/migration-tool.sh -t /path/to/extracted/.niogit

                 => select option 6 and input 'yes' except  POM migration. 

      Show
      extract attached .niogit archive(niogit.64.zip)  in any working directory run migration tool like the following             $ rhpam-7.8.0-migration-tool/bin/migration-tool.sh -t /path/to/extracted/.niogit            => select option 6 and input 'yes' except  POM migration. 
    • ---
    • ---
    • 2021 Week 31-33 (from Aug 2), 2021 Week 34-36 (from Aug 23), 2021 Week 37-39 (from Sep 13), 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15)

      When migrating v6.4 niogit by migration-tools.sh, it fails with the following exception in step 5) SYSTEM TO SPACE CONFIGURATION REPOSITORY MIGRATION.

      ~~~

      Starting system to space configuration repository migrationStarting system to space configuration repository migrationWARNING: Please ensure that you have made backups of the directory [/home/Case/02862017/work/test/.niogit] before proceeding.Do you wish to continue? [yes/no]: yesError during migration: java.lang.RuntimeException: The ConfigType REPOSITORY requires a namespace. at org.guvnor.structure.backend.config.ConfigurationServiceImpl.resolveConfigGroupPath(ConfigurationServiceImpl.java:363) at org.guvnor.structure.backend.config.ConfigurationServiceImpl.updateConfiguration(ConfigurationServiceImpl.java:349) at org.guvnor.structure.backend.config.ConfigurationServiceImpl$Proxy$$$_WeldClientProxy.updateConfiguration(Unknown Source) at org.kie.workbench.common.project.cli.util.ConfigGroupToSpaceInfoConverter.lambda$cleanUpRepositories$0(ConfigGroupToSpaceInfoConverter.java:176) at java.util.ArrayList.forEach(ArrayList.java:1257) at org.kie.workbench.common.project.cli.util.ConfigGroupToSpaceInfoConverter.cleanUpRepositories(ConfigGroupToSpaceInfoConverter.java:170) at org.kie.workbench.common.system.space.configuration.ConfigGroupsMigrationService.moveDataToSpaceConfigRepo(ConfigGroupsMigrationService.java:58) at org.kie.workbench.common.system.space.configuration.ConfigGroupsMigrationService$Proxy$$$_WeldClientProxy.moveDataToSpaceConfigRepo(Unknown Source) at org.kie.workbench.common.migration.cli.ContainerHandler.run(ContainerHandler.java:46) at org.kie.workbench.common.system.space.configuration.SystemToSpaceConfigurationMigrationTool.migrate(SystemToSpaceConfigurationMigrationTool.java:78) at org.kie.workbench.common.system.space.configuration.SystemToSpaceConfigurationMigrationTool.run(SystemToSpaceConfigurationMigrationTool.java:72) at org.kie.workbench.common.migration.cli.MigrationApp.execute(MigrationApp.java:212) at org.kie.workbench.common.migration.cli.MigrationApp.lambda$printWizard$10(MigrationApp.java:194) at org.kie.workbench.common.migration.cli.MigrationApp.printWizard(MigrationApp.java:207) at org.kie.workbench.common.migration.cli.MigrationApp.runTasks(MigrationApp.java:169) at org.kie.workbench.common.migration.cli.MigrationApp.start(MigrationApp.java:57) at org.kie.workbench.common.migration.Main.main(Main.java:13)

      ~~~

      This did not happen with V7.7.0 migration tool.

        1. migration_tool_console.log
          9 kB
          Hiroko Miura
        2. migration_tool.log
          183 kB
          Hiroko Miura

              r_anand Rishiraj Anand (Inactive)
              rhn-support-hmiura Hiroko Miura
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: