Symptoms

WAP resource usage is not updating even though APS resource update task executes successfully.

Cause

Server outbound request to update resource usage was not authorized properly. The following messages can be found in wap.log:-

2015-06-29 09:45:41,123 INFO  LoggingFilter [apsc(1)] - 365075 * Server in-bound request
365075 > GET https://0.0.0.0:4485/contexts/fa2877a6-1a89-457e-8ece-27f2e6039eee
365075 > aps-controller-uri: https://10.255.240.52:6308/
365075 > aps-identity-id:
365075 > aps-instance-id: 795a6ead-8276-4951-a1bf-5ed3df106d9c
365075 > aps-request-phase: sync
365075 > aps-transaction-id: 26457-5325360
365075 > connection: Close
365075 > host: 0.0.0.0:4485
365075 >
2015-06-29 09:45:42,238 INFO  LoggingFilter [apsc(1)] - 365075 * Server out-bound response
365075 < 401
365075 < Content-Type: text/plain
365075 < Cache-Control: max-age=0
365075 <
[AZURE] {"Message":"Authorization has been denied for this request."}

Resolution

  1. Re-export and re-import the certificate of usage endpoint per http://download.pa.parallels.com/poa/WAP/pa_wap_integration_deployment_guide.pdf (pages 14-15)

  2. Update the credentials of Usage API Endpoint by following the instructions of KB article https://kb.cloudblue.com/en/121420.
  3. Execute the periodic task #59 and make sure that it is successful.
  4. Check the resource usage in OA CCP.

Internal content