Symptoms

Task for provisioning a new add-on to WAP failed with the following error:

Last execution output   
Internal error:
403 Forbidden
[ApplicationUnknownError] [APS] {
"error": "APS::Util::AccessViolation",
"message": "Association with the resource '6054868b-9628-4be3-a245-3a7f314b0589' is not allowed."
}
.
Body: {
"error": "ApplicationUnknownError",
"message": "[APS] {\n \"error\": \"APS::Util::AccessViolation\",\n \"message\": \"Association with the resource '6054868b-9628-4be3-a245-3a7f314b0589' is not allowed.\"\n}\n"

}

In the past the following error could be found for the same subscription for some other provisioning task:

Internal error: SDK::Platform::blob Plesk::SaaS::SaaSManagerTasks_impl::taskExecuteWorkflow(const SDK::Platform::Properties&) : [APSC] [APS] java.net.SocketTimeoutException: Read timed out.

From /var/log/WAP/wap.log it's possible to find the description of the resource UUID, example:

{
        "title": "WAP 100GB Azure Pack Diskspace",
        "apsId": "6054868b-9628-4be3-a245-3a7f314b0589",
        "apsType": "http://www.parallels.com/infrastructure/cloudos/addon/1.0",
        "id": 1004433,
        "usage": 2,
        "limit": 2,
        "unit": "unit"
},

The mentioned resource consumption in OA subscription is higher than the actual usage on WAP portal.

Cause

The issue is a consequence of product issue CCU-9081 fixed since WAP APS 1.0.4.

Resolution

Contact Odin Technical Support to resolve the resource consumption mismatch.

To prevent future failures keep WAP APS instances up to date.

Internal content

Link on internal Article