Article ID: 126739, created on Aug 30, 2015, last review on Aug 30, 2015

  • Applies to:
  • Operations Automation 5.5

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.

Search Words

migration/objects.py", line 671, in checkCompatibility assert self.exists() and template.exists()

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF