Hi All,


We have deployed ONAP on Vanilla OpenStack Mitaka (On top of CentOS 7). Using 
the following YAML and env files:

https://gerrit.onap.org/r/gitweb?p=demo.git;a=blob;f=heat/OpenECOMP/onap_openstack_float.yaml;h=659f94c93b9c5dfae02031ddcae82161ce927318;hb=refs/heads/master

https://gerrit.onap.org/r/gitweb?p=demo.git;a=blob;f=heat/OpenECOMP/onap_openstack_float.yaml;h=659f94c93b9c5dfae02031ddcae82161ce927318;hb=refs/heads/master





Inside AAI VM the Model Loader is not started because healthcheck for all the 
Dockers inside SDC VM is not returning success (returns 1 instead or 5) as per 
the below code. This code is inside /opt/aai_vm_init.sh:

# Run Health Check against SDC and verify that all five components are up

RES=$(curl http://$SDC_IP_ADDR:8181/sdc1/rest/healthCheck | grep -c "OK")

while [[ $RES -lt 5 ]]

do

        RES=$(curl http://$SDC_IP_ADDR:8181/sdc1/rest/healthCheck | grep -c 
"OK")

done



On an Additional note all the Docker containers inside the SDC VM are running.



How to make sure the SDC Containers health check passes? FYI, The following 
output returns on executing  curl http://$SDC_IP_ADDR:8181/sdc1/rest/healthCheck



{

  "sdcVersion": "UNKNOWN",

  "siteMode": "UNKNOWN",

  "componentsInfo": [

    {

      "healthCheckComponent": "FE",

      "healthCheckStatus": "UP",

      "version": "1.0.0",

      "description": "OK"

    },

    {

      "healthCheckComponent": "BE",

      "healthCheckStatus": "DOWN"

    },

    {

      "healthCheckComponent": "ES",

      "healthCheckStatus": "UNKNOWN"

    },

    {

      "healthCheckComponent": "TITAN",

      "healthCheckStatus": "UNKNOWN"

    },

    {

      "healthCheckComponent": "DE",

      "healthCheckStatus": "UNKNOWN"

    }

  ]

}



Thanks & Regards,

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

Reply via email to