Search Engine: Elastic

Article ID: 129737, created on Oct 29, 2016, last review on Oct 29, 2016

  • Applies to:
  • Operations Automation

Symptoms

The task Synchronize resource usage for instances of APS applications fails with the error:

Last execution output   
Internal error: Resource usage calculation has failed at subscription 1234567: user exception, ID 'IDL:Plesk/ExSystem:1.0'.

Mentioned subscription contains APS Rushfiles. The following error can be found in poa.log:

Dec  4 14:18:42 osscore01 : ERR [SYSTEM 1:3713:a7774b90 SAAS 1256333617]: [ APS::APSManager_impl::getApplicationInstanceResourcesUsageEx] Failed to update resource usage report for service instance 4309. APS Application Error:  500 Internal Server Error [ApplicationUnknownError] Internal Server Error: Trying to get property of non-object at /var/www/html/RushFiles/company.php:570.  Body: {        "code": 500, "type": "RuntimeException",     "message": "Internal Server Error: Trying to get property of non-object at /var/www/html/RushFiles/company.php:570",    "error": "ApplicationUnknownError",     "http_request":
"GET /RushFiles/company/xxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx to 'provisioning.domain.tld'" }

Similar error is reported on the endpoint host of the problem APS:

[2015-12-04 14:15:56.371216 UTC] DEBUG TypeLibrary: loading class 'http://aps-standard.org/types/core/resource/1.0' from /usr/share/aps/php/aps/2/types/org/standard/aps/types/core/resource/Resource.1.0.php
[2015-12-04 14:15:56.373818 UTC] DEBUG Incoming Application API request: POST RushFiles/user
[2015-12-04 14:15:56.374103 UTC] DEBUG Request:
[2015-12-04 14:15:56.374283 UTC] DEBUG TypeLibrary: found class 'http://www.devtechgroup.com/rushfiles/user/1.1' in local type cache
aps-runtime-error: {
    "code": 500,
    "type": "RuntimeException",
    "message": "Internal Server Error: Trying to get property of non-object at /var/www/html/RushFiles/company.php:570"
}

Cause

The problem is on application side, possibly inconsistency.

Resolution

Login to the application admin panel and compare users there with users under the problem subscription that have this APS service assigned. For example, the following situation can take place:

  1. user exists on RushFiles side, but in OA it does not have RushFiles service assigned. To fix it, remove user on the RushFiles side

  2. user exists on RushFiles side, but it is absent in CCP. To fix it, remove the user on the RushFiles side as well

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF