On attempt to destroy subscription, the following error appears:
Destroying service of Subscription #1001 failed: Parallels Operations Automation error #extype_id #1, module_id #Subscriptions, org.hibernate.exception.ConstraintViolationException: could not execute statement.
The following error can be found in
/var/log/poa.log on Management Node for versions earlier than 7.0 and in
/var/log/pa/core.log since OA 7.0:
Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "subscriptions" violates foreign key constraint "domain_services_fk_1" on table "domain_services" Detail: Key (sub_id)=(1001) is still referenced from table "domain_services".
Domain service reference has not been removed from OA database due to canceled tasks in the past.
Contact Odin Technical Support in order to find and fix affected DB records.