The goal of this page is ro review the existing healthcheck tests and evaluate their maturity level in order to ask for improvement if needed for G and later releases.
In fact the healthcheck tests are not homogeneous. A good healthcheck shall be trustable, for instance if the contact between a component and it DB is failing is shall report FAIL and not PASS just because one web server is answering.
Core components
Component | Nb of pods | Description | Logs (for troubleshooting) | Comments | Integration team view (1: weak trust - 5 full trust) | |||
---|---|---|---|---|---|---|---|---|
MR | ||||||||
dmaap |
| 2 tests in health 1) Basic DMAAP Message Router Health Check (/topics) test a topic is well received (TEST_TOPIC_ACL) 2) Basic DMAAP Message Router PubSub Health Check (/events/TEST_TOPIC/g1/c4?timeout=5000) Received response from message router ["{\"test\":\"success\",\"timestamp\":\"${timestamp}\"}"] 1 in postinstall 1) Basic DMAAP Message Router ACL Update Test Runs MR create topic and update producer credentials |
| |||||
aai |
| 1 test in health 1) 1 global answer from A&AI {"responseMessages":{"responseMessage":[{"messageId":"INF0001","text":"Success X-FromAppId=%1 X-TransactionId=%2 (msg=%3) (rc=%4)", "variables":{"variable":["robot-ete","51707c75-ac59-49e7-8181-f6979db0dfa8","Successful health check:OK","0.0.0002"]}}]}} 1 test in postinstall 1) Basic AAI Service Design Models Size Test (/aai/v16/service-design-and-creation/models/) Check that the number of models is > min value | ||||||
portal |
| 1 healthcheck test retrievingĀ BE, FE and DB status {"healthCheckComponent":"BE","healthCheckStatus":"UP", "version":"", "description":"OK", "hostName":"onap-portal-app-664dd47bc6-ldp5h","ipAddress":"10.233.75.218","dbClusterStatus":"","dbPermissions":""},{"healthCheckComponent":"FE","healthCheckStatus":"UP","version":"","description":"OK","hostName":"","ipAddress":"","dbClusterStatus":"","dbPermissions":""},{"healthCheckComponent":"DB","healthCheckStatus":"UP","version":"","description":"OK","hostName":"","ipAddress":"","dbClusterStatus":"","dbPermissions":"OK"}]"} | Only 1 hostname mentioned Possible to add another test healthportalapp to have Selenium tests on the GUI | |||||
sdc |
| SDC Health Check (/sdc1/rest/healthCheck) complete status {"sdcVersion": "1.5.2", "siteMode": "unknown", "componentsInfo": [ {"healthCheckComponent": "BE", "healthCheckStatus": "UP", "version": "1.5.2", "description": "OK"}, {"healthCheckComponent": "JANUSGRAPH", "healthCheckStatus": "UP", "description": "OK"}, {"healthCheckComponent": "ES", "healthCheckStatus": "UP", "version": "1.5.2", "description": "OK"}, {"healthCheckComponent": "DE", "healthCheckStatus": "UP", "description": "OK"}, {"healthCheckComponent": "CASSANDRA", "healthCheckStatus": "UP", "description": "OK"}, {"healthCheckComponent": "ON_BOARDING", "healthCheckStatus": "UP", "version": "1.5.2", "description": "OK", "componentsInfo": [ {"healthCheckComponent": "ZU", "healthCheckStatus": "UP", "description": "OK"}, {"healthCheckComponent": "BE", "healthCheckStatus": "UP", "version": "1.5.2", "description": "OK"}, {"healthCheckComponent": "CAS", "healthCheckStatus": "UP", "version": "2.2.14", "description": "OK"}, {"healthCheckComponent": "FE", "healthCheckStatus": "UP", "version": "1.5.2", "description": "OK"}]}, {"healthCheckComponent": "DCAE", "healthCheckStatus": "UP", "version": "1.3.2", "description": "OK", "componentsInfo": [ {"healthCheckComponent": "BE", "healthCheckStatus": "UP", "version": "1.3.2", "description": "OK"}, {"healthCheckComponent": "TOSCA_LAB", "healthCheckStatus": "UP", "version": "1.3.0", "description": "OK"}, {"healthCheckComponent": "FE", "healthCheckStatus": "UP", "description": "OK"}]}, {"healthCheckComponent": "FE", "healthCheckStatus": "UP", "version": "1.5.2", "description": "OK"}]} | ||||||
sdnc |
| 1 test in health 1) SDNC Health Check (/restconf/operations/SLI-API:healthcheck) wait forĀ 200 OK from the SLI-API | ||||||
so |
| 1 global test in health including 8 requests SO Health Check 1) so 2) so-sdc-controller 3) so-bpmn-infra 4) so-catalog-db-adapter 5) so-openstack-adapter 6) so-request-db-adapter 7) so-sdnc-adapter 8) so-vfc-adapter 9) so-vnfm-adapter | all pods covered | |||||
cassandra |
| |||||||
maria-galera |
|