Symptoms
New Office365 subscription was not provisioned to Operations Automation - order for provisioning failed with the following error in BA:
The order provisioning has failed.
The last error - "Service Creation Failed: Parallels Operations Automation error #extype_id #2001, module_id #OpenAPI, Transaction '174906615' does not exist.. Service Creation Failed: Parallels Operations Automation error #extype_id #2001, module_id #OpenAPI, Transaction '174906615' does not exist..".
The following errors are shown in poa.log
while trying to re-submit the order:
Aug 16 19:38:20 core.provider.tld : ERR [openapi:172.1.2.3:829140 1:31970:f35dbb70 lib ]: [ OpenAPI::TransformExceptions::process] system exception, ID 'IDL:omg.org/CORBA/UNKNOWN:1.0'
TAO exception, minor code = 0 (unhandled c++ exception in server side; unspecified errno), completed = MAYBE
Aug 16 19:38:20 core.provider.tld : DBG [openapi:172.1.2.3:829143 1:31970:f3be1b70 lib ]: [ OpenAPI::TxnStorage::restore] {module_id="OpenAPI"; code="2001"} Transaction '174901921' does not exist.
Cause
Reason of the failure can be found in poa.log
:
Aug 18 09:53:15 core.provider.tld : INF [openapi:172.1.2.3:903682 1:31970:f34dab70 OpenAPI ]: ==>>> Executing OpenAPI method 'pem.activateSubscription' with parameters: [{ 'account_id' => 1000279, 'parameters' => [ { 'var_name' => 'aps_defaults_o365', 'var_value' => 'customertest1', }, ], 'resource_limits' => [ { 'resource_id' => 1004997, 'resource_limit64' => '2', }, ], 'service_template_id' => 313, 'subscription_id' => 1093646, 'subscription_name' => 'MS: Office 365 Business', 'txn_id' => '172969290', } ]
Here:
'parameters' => [ { 'var_name' => 'aps_defaults_o365', 'var_value' => 'customertest1', }, ]
var_value
format is incorrect. It should be in json format like:
{ "aps":{ "type":"http://www.parallels.com/Office365/Tenant/1.1" },"subdomain": "customertest1" }
It means that Office 365 Subdomain Form for Business Automation Online Store has not been configured properly. Please refer to Customizing Layout Template section of the Configuring Office 365 Subdomain Form for Odin Automation billing Online Store.
Resolution
Configure Office 365 Subdomain Form for Business Automation Online Store in accordance with the guide Configuring Office 365 Subdomain Form for Odin Automation billing Online Store