Symptoms

An order on Parallels Automation (PA) fails with the following error:

[Error::throw] subscription upgrading failed: failure response: status: -1, module_id: ResourceManagement, extype_id: 221, error_message: Subscription #ID has no resource type #1000259.

If you see resource type #1000003, refer to this Knowledgebase article.

Cause

Hosting Plan settings:

Top > Billing Director > Product Manager > Hosting Plans > %plan_name% > PA settings
--->8---
PA Node:        112 %PA_node%
Service Template Name:  %PA_Service_Template%
---8<---

Get the name of PA resource 1000259 (mentioned in the log). For example:

mysql> select * from poa_res where poa_res_id=1000259 and hw_id=112;
+--------+------------+-----------+----------+------------+-------+
| res_id | poa_res_id | parent_id | mes_type | class_name | hw_id |
+--------+------------+-----------+----------+------------+-------+
| 100108 |    1000259 |         0 |        0 |            |   112 |

mysql> select res_id, name from resource where res_id in (100108);
+--------+-----------------------------------------------+
| res_id | name                                          |
+--------+-----------------------------------------------+
| 100108 | Outlook License for Hosted Exchange Mailboxes |

Resource #1000259 (mentioned in the log) is missing in the PA Service Template. This causes the error.

Top > Service Director > Parallels Automation Manager > Service Templates > %PA_Service_Template%

Resolution

Add the resource Outlook License for Hosted Exchange Mailboxes (the missing resource) to the PA Service Template:

Parallels Operations Automation or Parallels Plesk Automation > Products > Service Templates > Hosted Exchange > Resources

Alternatively, go Top > Service Director > Parallels Automation Manager > Service Templates and press "Synchronize Service Templates". This will synchronize resources between PA service templates and their corresponding Odin Business Automation Standard (OBAS) hosting plans. As a result, the resource in question will be removed from the OBAS hosting plan.

Internal content

Link on internal Article