cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
785
Views
0
Helpful
3
Replies

TMSPE Migration Failing

Patrick Sparkman
VIP Alumni
VIP Alumni

I'm doing a test migration on a lab TMS, I've coped over our production TMS Agent database, and am trying to do a test migration, however it keeps failing early in the steps on "Synchronizing FindMe with User Repository".  We don't have or utilize FindMe in our environment, so I'm not sure why it is failing on this step.  I'm running Java 6, as I read somewhere version 7 might cause some issues.

If push comes to shove, we could always start fresh, and recreate our database after switching to TMSPE since our provisioning user base isn't very large at all - maybe 60 users.

07 Nov 2012 14:52:52 INFO  - Migration started

07 Nov 2012 14:52:53 INFO  - Exporting data from OpenDS

07 Nov 2012 14:53:01 INFO  - Export ldif command output: Export task 20121107095259308 scheduled to start immediately

     [07/Nov/2012:09:52:59 -0500] severity="NOTICE" msgCount=0 msgID=9896349 message="Export task 20121107095259308 started execution"

     [07/Nov/2012:09:52:59 -0500] severity="INFORMATION" msgCount=1 msgID=10487422 message="Exporting to C:\Program Files (x86)\TANDBERG\TMS\TMSProvisioningExtension\migration-tool\export\tmsagent-provisioning.ldif"

     [07/Nov/2012:09:52:59 -0500] severity="NOTICE" msgCount=2 msgID=8847447 message="Exported 279 entries and skipped 671 in 0 seconds (average rate 602.6/sec)"

     [07/Nov/2012:09:52:59 -0500] severity="NOTICE" msgCount=3 msgID=9896350 message="Export task 20121107095259308 finished execution"

     Export task 20121107095259308 has been successfully completed

07 Nov 2012 14:53:01 INFO  - Deleting existing data

07 Nov 2012 14:53:02 INFO  - Deleting users took : 250 millis

07 Nov 2012 14:53:03 INFO  - Deleting groups took : 374 millis

07 Nov 2012 16:53:04 ERROR - Migration error:

java.util.concurrent.ExecutionException: java.lang.RuntimeException: Synchronziation between User Repository and FindMe has failed!

    at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source) ~[na:1.6.0_37]

    at java.util.concurrent.FutureTask.get(Unknown Source) ~[na:1.6.0_37]

    at javax.swing.SwingWorker.get(Unknown Source) ~[na:1.6.0_37]

    at com.cisco.ts.mgmt.migrationtool.ui.MigrationToolUI$4.done(MigrationToolUI.java:353) ~[migration-tool-1.0.159.jar:na]

    at javax.swing.SwingWorker$5.run(Unknown Source) [na:1.6.0_37]
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [na:1.6.0_37]
    at sun.swing.AccumulativeRunnable.run(Unknown Source) [na:1.6.0_37]

    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [na:1.6.0_37]

    at javax.swing.Timer.fireActionPerformed(Unknown Source) [na:1.6.0_37]
    at javax.swing.Timer$DoPostEvent.run(Unknown Source) [na:1.6.0_37]

    at java.awt.event.InvocationEvent.dispatch(Unknown Source) [na:1.6.0_37]

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [na:1.6.0_37]
    at java.awt.EventQueue.access$400(Unknown Source) [na:1.6.0_37]
    at java.awt.EventQueue$2.run(Unknown Source) [na:1.6.0_37]

    at java.awt.EventQueue$2.run(Unknown Source) [na:1.6.0_37]

    at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_37]
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) [na:1.6.0_37]
    at java.awt.EventQueue.dispatchEvent(Unknown Source) [na:1.6.0_37]

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [na:1.6.0_37]

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [na:1.6.0_37]

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [na:1.6.0_37]

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.6.0_37]

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.6.0_37]

    at java.awt.EventDispatchThread.run(Unknown Source) [na:1.6.0_37]

java.lang.RuntimeException: Synchronziation between User Repository and FindMe has failed!

    at com.cisco.ts.mgmt.migrationtool.util.FindMeSynchronizer.waitForUserRepoSyncToFinish(FindMeSynchronizer.java:49) ~[migration-tool-1.0.159.jar:na]
    at com.cisco.ts.mgmt.migrationtool.MigratorImpl.cleanupExistingData(MigratorImpl.java:262) ~[migration-tool-1.0.159.jar:na]

    at com.cisco.ts.mgmt.migrationtool.MigratorImpl.runMigration(MigratorImpl.java:151) ~[migration-tool-1.0.159.jar:na]

    at com.cisco.ts.mgmt.migrationtool.ui.MigrationToolUI$4.doInBackground(MigrationToolUI.java:341) ~[migration-tool-1.0.159.jar:na]

    at com.cisco.ts.mgmt.migrationtool.ui.MigrationToolUI$4.doInBackground(MigrationToolUI.java:338) ~[migration-tool-1.0.159.jar:na]

    at javax.swing.SwingWorker$1.call(Unknown Source) ~[na:1.6.0_37]

    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) ~[na:1.6.0_37]

    at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.6.0_37]
    at javax.swing.SwingWorker.run(Unknown Source) ~[na:1.6.0_37]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) ~[na:1.6.0_37]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.6.0_37]
    at java.lang.Thread.run(Unknown Source) ~[na:1.6.0_37]
07 Nov 2012 16:53:04 ERROR - Migration failed
3 Replies 3

samuel.gay
Level 1
Level 1

Hi Patrick,

We get the same issue. Case 623649075 is openned.

In our case issue was coming from duplicate entries in OpenDS DB. If you have the same issue you should be able to see this error in your logs:

--------------------------------------

29 oct. 2012 10:08:41 ERROR - Migration error:

java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: An object with the key is : 3 is already in the map

--------------------------------------

Regards,
Samuel

Migration Successful!

I found out I had to remove the "Device URI" entry, according to the following discussion.

https://supportforums.cisco.com/thread/2168920

JensLantermann
Level 1
Level 1

Hi,

If you have dublicated entries, then you can delete them.

Go via mstsc on your TMS. Change the folder to "C:\Program Files (x86)\TANDBERG\TMS\Provisioning\OpenDS-2.0\bat"

and execute "control-panel.bat". Then click "manage entries".

Here you have an OpenLDAP Browser to see the entries. Please pay attention, anything you will delete here is really gone.

I found here many dublicated Items.

This was the solution the TAC gave me.