UI hangs when creating APS resource from CCP
Modified on: Fri, 17 Nov 2023 12:07 PMOriginal Publishing Date:
2020-01-22
2020-01-22
Symptoms
When I try to create an instance of my APS resource from CCP, UI hangs in waiting for <host>...
state.
Cause
Some script is stuck while being executed.
Resolution
- Press Create again.
- Right after that, execute
tail -f /var/log/poa-ui.log > /tmp/uilog
to catch what is happening with UI. - Wait for about 30 seconds.
- Cancel
tail
and search/tmp/uilog
for the method that it is getting stuck on (usually the last). - Search for the same method in
/var/log/poa.debug.log
. - If the method's name is
validateSettingsForApplicationInstance
, the execution halts in one of custom application scripts. - Use
ps aux | grep php
to search where is it stuck and then search for the problematic code in/usr/local/pem/APS/scripts/
.