Hi Gülsüm,

The policy health check is failing for some reason.

I haven't looked into DROOLS engine, it looks like the drools engine health
check is failing for some reason and it is a http endpoint
https://drools.onap:6969/healthcheck, not sure why this is failing.

Could you please take a look at the drools pod (dev-policy-drools-0) logs
to see what is going wrong.

Regards
Vivek

On Thu, Apr 30, 2020 at 1:38 AM Gülsüm Atıcı <
[email protected]> wrote:

> Dear Vivek,
>
> Thanks for  your  response.  Actually, those steps are exactly what I did.
>
> aarna@anod-master:~/oom/kubernetes/robot$ export
> POLICY_PAP_UI_POD_NAME=$(kubectl get pods -n onap | grep policy-pap | grep
> -v 'policy-policy-pap' | awk '{print $1}')
> aarna@anod-master:~/oom/kubernetes/robot$ kubectl exec -n onap
> ${POLICY_PAP_UI_POD_NAME} -c pap -it -- /bin/bash
> bash-4.4$ sed -i
> "s/^role_access_centralized.*$/#role_access_centralized=remote/g"
> /opt/app/policy/servers/console/webapps/onap/WEB-INF/classes/portal.properties
> bash-4.4$ export POLICY_HOME=/opt/app/policy
> bash-4.4$ export KEYSTORE_PASSWD=Pol1cy_0nap
> bash-4.4$ /opt/app/policy/etc/init.d/pap stop
> Using CATALINA_BASE:   /opt/app/policy/servers/pap
> Using CATALINA_HOME:   /opt/app/policy/servers/pap
> Using CATALINA_TMPDIR: /opt/app/policy/servers/pap/temp
> Using JRE_HOME:        /usr/lib/jvm/java-1.8-openjdk
> Using CLASSPATH:
>  
> /opt/app/policy/servers/pap/bin/bootstrap.jar:/opt/app/policy/servers/pap/bin/tomcat-juli.jar
> Kill failed: $CATALINA_PID not set
> bash-4.4$ /opt/app/policy/etc/init.d/console stop
> Using CATALINA_BASE:   /opt/app/policy/servers/console
> Using CATALINA_HOME:   /opt/app/policy/servers/console
> Using CATALINA_TMPDIR: /opt/app/policy/servers/console/temp
> Using JRE_HOME:        /usr/lib/jvm/java-1.8-openjdk
> Using CLASSPATH:
>  
> /opt/app/policy/servers/console/bin/bootstrap.jar:/opt/app/policy/servers/console/bin/tomcat-juli.jar
> Kill failed: $CATALINA_PID not set
> bash-4.4$
> bash-4.4$ export POLICY_HOME=/opt/app/policy
> bash-4.4$ export KEYSTORE_PASSWD=Pol1cy_0nap
> bash-4.4$ /opt/app/policy/bin/policy.sh start
> pap: STARTING ..
> console: STARTING ..
> elk: STARTING ..
> paplp: STARTING ..
> crontab: must be suid to work properly
> bash-4.4$ /opt/app/policy/bin/policy.sh status
> pap: UP: running with pid 3087
> console: UP: running with pid 3103
> /opt/app/policy/etc/init.d/elk: line 8: ${JMX_JAVA_OPTS}
> -Dcom.sun.management.jmxremote.port=${{ELK_JMX_PORT}}: bad substitution
> elk: UP: running with pid 3151
> paplp: DOWN
> 0 cron jobs installed.
> bash-4.4$
>
> However, it did not prevent the  health check  from failure.
>
>
> ------------------------------------------------------------------------------
> Basic Policy Health Check                                             |
> FAIL |
> 403 != 200
>
> ------------------------------------------------------------------------------
>
> Thanks,
> Gulsum
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#20900): https://lists.onap.org/g/onap-discuss/message/20900
Mute This Topic: https://lists.onap.org/mt/73071656/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to