Article ID: 126738, 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:

Failed with error :
2014-07-21 14:47:35.534 ERROR Cannot migrate parked domains to web cluster/server 'pemlinng001.domain.tdl'(2898) until at least one was provisioned
Traceback (most recent call last):
    File "./migrate.py", line 1139, in ?
    main()
    File "./migrate.py", line 1106, in main
        migration.migrateSubscriptions(subs, cluster, migrationConfig)
    File "./migrate.py", line 242, in migrateSubscriptions
        self.migrateSubscriptionsDBData(con, toHost, subs, False)
    File "./migrate.py", line 859, in migrateSubscriptionsDBData
        subs.migrateDBData(con, cur, toHost, revert)
      File "/root/migration/poa-lshng-migration-5.5-28/migration/objects.py", line 1692, in migrateDBData
        webspaceset.migrateDBData(con, cur, toHost, revert)
    File "/root/migration/poa-lshng-migration-5.5-28/migration/objects.py", line 779, in migrateDBData
        self.migrateDomainParkingDBData(cur, host, revert)
    File "/root/migration/poa-lshng-migration-5.5-28/migration/objects.py", line 798, in            migrateDomainParkingDBData
        dest_service_id = toHost.getServiceID("domain_parking")
    File "/root/migration/poa-lshng-migration-5.5-28/migration/objects.py", line 592, in getServiceID
        return Host.getServiceID(self, serviceType, cursor)
    File "/root/migration/poa-lshng-migration-5.5-28/migration/objects.py", line 113, in getServiceID
        raise MigrationError("Cannot migrate parked domains to %s until at least one was provisioned" % self)
        ...

Cause

As the error states, there should be some parked domains provisioned to the destination NG host before migrating domains. The issue has been confirmed as a bug POA-86822.

Resolution

The behavior will be changed in future versions of Operations Automation in scope of the bug POA-86822. For now please provision at least one subscription with a parked domain to the destination NG server/cluster before using migrate.py script.

Search Words

Cannot migrate parked domains to web cluster/server

migrate.py

Cannot migrate parked domains to %s until at least one was provisioned

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF