Symptoms
Plesk Panel resource is not provisioned after VPS recreation. The subscription has 0 limit for PVPS_Panel resource as a result.
/var/log/pa/vps.aps.log
contains the following records during the recreation:
2017-08-29 00:31:35,093 web_abe678d9-e17a-425c-bdbe-e6fb842c51f4_518 INFO JerseyLoggingFilter [pa-rest task-60] - 617 * Server has received a request on thread pa-rest task-60
617 > POST https://127.0.0.1:8081/vps/api/environments/aff27430-b6b6-4741-898c-9a976331ab24/application
2017-08-29 00:31:35,096 web_abe678d9-e17a-425c-bdbe-e6fb842c51f4_518 ERROR IaaSExceptionMapper [pa-rest task-60] - An uncaught exception
java.lang.NullPointerException: null
at com.parallels.paci.vps.rs.operations.impl.EnvOperationsImpl.installApplication(EnvOperationsImpl.java:727) ~[classes:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_112]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_112]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_112]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_112]
The corresponding VE APS resource does not contain settings related to firewall. The settings should look like:
# curl -k -E /usr/local/pem/APS/certificates/poa.pem 'https://localhost:6308/aps/2/resources/aff27430-b6b6-4741-898c-9a976331ab24'
"envFirewall":
{
"enabled": true
},
A broken resource does not have the envFirewall settings at all.
Cause
CCU-17078: Virtual Environments, created before the upgrade to 7.0, do not have the Firewall properties added during the upgrade, which leads to a failure on adding the Plesk Panel application to the VE on recreation.
Resolution
Contact Odin Technical Support to address the issue.