I just deployed Amsterdam release. For me also usecase-gui health check failed 
at first. However, the issue was gone by simply rebooting the multi-services 
VM. It may be worth a shot.

Thanks,
Arun

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Kedar Ambekar
Sent: 01 December 2017 15:48
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] [uui] UUI healthcheck is failing

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<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.techmahindra.com_Disclaimer.html&d=DwMFAg&c=uilaK90D4TOVoH58JNXRgQ&r=fJSaCk5Dtn2KbIeqRCU_Kzr_L_vL-XtXjh29c6PfRGQ&m=dy6g8h5CscTXXWVOCFsXmMvxfCHkw1JQ74s_EPSeKD4&s=_Vt7it56zerp8PyCOqKU3hxICXV5MhDUmSe-qPo-jmY&e=>
 externally 
http://tim.techmahindra.com/tim/disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__tim.techmahindra.com_tim_disclaimer.html&d=DwMFAg&c=uilaK90D4TOVoH58JNXRgQ&r=fJSaCk5Dtn2KbIeqRCU_Kzr_L_vL-XtXjh29c6PfRGQ&m=dy6g8h5CscTXXWVOCFsXmMvxfCHkw1JQ74s_EPSeKD4&s=aJ1O3r3f6P1UMFZDMDMFZJ84SH7I3zDeAtzt0bTFCB0&e=>
 internally within TechMahindra.
============================================================================================================================
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to