Symptoms

On attempt to import Office 365 subscription from Microsoft cloud to Odin Automation customer is facing the following error:

Internal Server Error(Open API Error: BaseTransaction.rollback - ARJUNA016074: 
no transaction!, extype id: 1, module_id: TransactionManager, (<Empty>))

core.log error is:

DBG [... pau]: c.p.p.s.x.m.e.OpenApiTransactionManagerBean JTA transaction 292717502 not found
DBG [... pau]: c.p.p.s.x.m.e.OpenApiTransactionManagerBean OpenAPI transaction: 292717502 rollback failedjava.lang.IllegalStateException: BaseTransaction.rollback - ARJUNA016074: no transaction!
    at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:141)
    at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:134)

Public KB article https://kb.cloudblue.com/en/131021 has been checked, staff member has all required permissions.

Cause

Subscription resources are being validated right before the transaction rollback:

DBG [openapi:33145 openapi-task-68:929 pau]: c.p.p.s.s.e.SubscriptionResourcesManagerBean validating subscription #100123 resource type #100035 limit -1
DBG [openapi:33145 openapi-task-68:929 pau]: c.p.p.s.x.m.e.OpenApiTransactionManagerBean txn rollback for txn_id 292717502
DBG [openapi:33145 1:3728:7f3a65703700 TaskManager ]: [ {anonymous}::ScheduleKeeper::onRollback] ===> ENTRY

and the root cause is the latest mentioned one: resource type #100035. This Resource exists on the Billing side only and its corresponding Resource Rate is included into target Service Plan - which is not supported by Office 365.

Resolution

Locate the Resource Rate in the target Service Plan which is based on pure Billing Resource and set the following property:

"Show in Store" = "No"

In that case, PlanRateListGetForPeriod_API method, used by Office 365 Endpoint, will ignore it and allow to perform the import.

The following requests have been addressed to Odin Development team:

  • Feature Request #PFR-1505: in order to handle resource type validation on the Office 365 application side;
  • Request #POA-114840: in order to improve error reporting of similar cases on the OA side.

Internal content