Symptoms
A sales or cancellation order fails:
Removing of Service of Subscription #1010101 is failed. Stop service of Order Item #12321 failed. Service Destroyed: Removing of Service of Subscription #1010101 is failed. Stop service of Order Item #12321 failed.
Corresponding pem.disableSubscription or pem.enableSubscription methods fail with the following error in /var/log/poa.log
:
Dec 22 11:32:13 mn.local : INF [openapi:10.8.1.56:1851 1:13186:e88a8b70 SAAS 488525213]: [ writeAccessLog] OUT 10.8.1.73:6308 [0] "PUT /aps/2/resources/8b687867-ebc7-436c-b647-95b74d069190/disable HTTP/1.0" [1] "204 No Content" 4465ms
Dec 22 11:32:13 mn.local : ERR [openapi:10.8.1.56:1851 1:11602:eb4a4b70 lib 488525213]: [SDK::DisableSubscriptionObserver::onDisableSubscription] ExSystem: module_id:'Common', ex_type_id:'1',Message:'Internal error: APS suspendable resource '8b687867-ebc7-436c-b647-95b74d069190' was NOT disabled.', deprecated_codes = (0, 0), properties = { reason: 'APS suspendable resource '8b687867-ebc7-436c-b647-95b74d069190' was NOT disabled', }
aps-php-runtime package was recently upgraded on the corresponding APS endpoint to 2.1-310 version:
[root@endpoint ~]# rpm -q aps-php-runtime
aps-php-runtime-2.1-311.noarch
Cause
A change in aps-php-runtime leads to incorrect handling of enable/disable REST requests.
Resolution
Update aps-php-runtime on APS endpoint to a newer version, available here: PHP Runtime Library