It is impossible to transfer a subscription between 2 accounts:
"Parallels Operations Automation error #error_code #1, extype_id #1, module_id #db_service, DBService invocation error: ERROR: stack depth limit exceeded Hint: Increase the configuration parameter "max_stack_depth" (currently 2048kB), after ensuring the platform's stack depth limit is adequate..
The subscription includes service users that are bound to domain example.com.
The domain itself is hosted under reseller DNS hosting subscription.
/var/log/pa/core.log contains entries like below in scope of the subscription transfer API request:
Dec 12 22:37:44.290 : DBG [openapi:38871 RequestProcessor-23 pau 348138214]: c.p.p.s.a.e.ServiceUserBean getting hsu depended subscriptions for subscription 1200553 Dec 12 22:37:45.045 : DBG [openapi:38871 RequestProcessor-23 pau 348138214]: c.p.p.s.s.e.SubscriptionResourcesManagerBean adding subscription #1000085 which shares service users with about to move subscription #1200553 Dec 12 22:37:45.045 : DBG [openapi:38871 RequestProcessor-23 pau 348138214]: c.p.p.s.s.e.SubscriptionResourcesManagerBean adding subscription #1342458 which shares service users with about to move subscription #1200553
The subscription transfer process implies that all service users and domains, used under the subscription, are also moved. In case a domain belongs to a foreign subscription, e.g. reseller's one, it will be fetched by dependency, which will produce more dependencies on all subsequent subscriptions, leading to a stack overflow.
It is necessary to re-bind the domain to a customer's subscription that includes DNS hosting resource, thus isolating it from any other accounts or subscriptions.
To do that:
- go to Provider's CP > Services > Domains > your domain > DNS
- press Change DNS Hosting to External
- press Change DNS Hosting to Internal
- choose the target subscription that belongs to the account in question