Hi UUI team,

My robot health check is failing for UUI.

usecaseui-gui API Health Check                                        | FAIL |
502 != 200

I realized that on multi-service VM, refrepo:1.0-STAGING-latest  and 
postgres:latest containers were not running as their docker images did not get 
pulled. I manually ran vnfsdk_vm_init.sh which pulled those 2 docker images and 
started the containers. Those 2 containers' logs also look ok. But healthcheck 
is still failing.

I attempted with below 2 curl commands as well (by referring to init scripts) 
but no luck. Do I have to do anything else to get this health check passed ?


curl -X POST -H "Content-Type: application/json" -d '{"serviceName": 
"usecaseui-server", "version": "v1", "url": 
"/api/usecaseui/server/v1","protocol": "REST",  "nodes": [ {"ip": 
"'30.30.30.124'","port": "8082"}]}' 
"http://30.30.30.124:10081/api/microservices/v1/services";

{"serviceName":"usecaseui-server","version":"v1","url":"/api/usecaseui/server/v1","protocol":"REST","visualRange":"1","lb_policy":"","publish_port":"","namespace":"","network_plane_type":"","host":"","path":"","enable_ssl":false,"nodes":[{"ip":"30.30.30.124","port":"8082","checkType":"","checkUrl":"","ha_role":"","nodeId":"_usecaseui-server_30.30.30.124_8082","status":"passing"}],"metadata":[],"labels":[],"status":"1","is_manual":false}


curl -X POST -H "Content-Type: application/json" -d '{"serviceName": 
"usecaseui-ui", "version": "v1", "url": "/usecase-ui","path": 
"/iui/usecaseui","protocol": "UI",  "nodes": [ {"ip": "'30.30.30.124'","port": 
"8080"}]}' "http://30.30.30.124:10081/api/microservices/v1/services";

{"serviceName":"usecaseui-ui","version":"v1","url":"/usecase-ui","protocol":"UI","visualRange":"1","lb_policy":"","publish_port":"","namespace":"","network_plane_type":"","host":"","path":"/iui/usecaseui","enable_ssl":false,"nodes":[{"ip":"30.30.30.124","port":"8080","checkType":"","checkUrl":"","ha_role":"","nodeId":"_usecaseui-ui_30.30.30.124_8080","status":"passing"}],"metadata":[],"labels":[],"status":"1","is_manual":false}


============================================================================================================================

Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html 
<http://www.techmahindra.com/Disclaimer.html> externally 
http://tim.techmahindra.com/tim/disclaimer.html 
<http://tim.techmahindra.com/tim/disclaimer.html> internally within 
TechMahindra.

============================================================================================================================
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to