Symptoms

The following error is shown when attempting to migrate parked domains using the script migrate.py described in http://download.pa.parallels.com/poa/5.5/doc/71306.htm

2014-12-04 11:24:03.204 ERROR
Traceback (most recent call last):
File "./migrate.py", line 1230, in ?
main()
  File "./migrate.py", line 1197, in main
migration.migrateSubscriptions(subs, cluster, migrationConfig)
File "./migrate.py", line 208, in migrateSubscriptions
self.checkPrerequisites(toHost, subs, migrationConfig)
File "./migrate.py", line 196, in checkPrerequisites
self.checkConfig(migrationConfig, subs.getSubs())
File "./migrate.py", line 619, in checkConfig
self.checkMapping(migrationConfig.items(), "service plan", ServicePlan, subs)
File "./migrate.py", line 638, in checkMapping
source.checkCompatibility(destination)
File "/root/lng-migration/poa-lshng-migration-5.5-38/migration/objects.py", line 744, in checkCompatibility
return self.serviceTemplate.checkCompatibility(plan.serviceTemplate)
File "/root/lng-migration/poa-lshng-migration-5.5-38/migration/objects.py", line 671, in checkCompatibility
assert self.exists() and template.exists()
AssertionError

Cause

Configuration file specified in --config parameter is malformed.

Resolution

Check the file and make sure it is formatted according to the documentation Subscriptions Upgrade. Source and target template can be the same, but you need to make sure that Resource type points to NG host by means of Attribute assigned.

Internal content