An APS application resource provisioning or upgrade fails with 500 Internal Server Error.

/var/log/pa/core.log shows:

Oct 23 18:01:25.990 : INF [task:299:4 1:18200:7f0c07fff700 SAAS 932231691]: [ HTTP] OUT  [682] "POST /sample/clouds/7a8b5f9f-b58b-43e4-8c7c-51405743f378/upgrade?version=7.1.0-308 HTTP/1.1"  [0] "500 Internal Server Error"  30093ms

/var/log/httpd/error_log on the APS application endpoint server fails:

[Tue Oct 24 18:01:25.452317 2017] [:error] [pid 12818] [client] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /usr/share/aps/php/aps/2/apsc.php on line 357


The default PHP maximum execution timeout configured on the endpoint node is not enough for the operation.


Edit /etc/php.ini and set a larger timeout

max_execution_timeout = 120

Reload Apache service:

# service httpd reload

Internal content