Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-140

ASDC reports status 500 for health check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • SDC
    • SDC Sprint 1

      ASDC report status 500 for the ASCD health status. Following are the logs from the robot execution:

      onap-robot:/opt# ./ete.sh health

      Starting Xvfb on display :88 with res 1280x1024x24
      Executing robot tests at log level TRACE
      ==============================================================================
      OpenECOMP ETE
      ==============================================================================
      OpenECOMP ETE.Robot
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites
      ==============================================================================
      OpenECOMP ETE.Robot.Testsuites.Health-Check :: Testing ecomp components are...
      ==============================================================================
      Basic DCAE Health Check | FAIL |
      Health check failed {u'service': u'cdap-helloworld', u'instance': u'ZONE', u'status': u'UNDEPLOYED', u'healthTestStatus': u'YELLOW', u'healthTestMessageCode': u'Cluster not deployed'}
      ------------------------------------------------------------------------------
      Basic SDNGC Health Check | PASS |
      ------------------------------------------------------------------------------
      Basic A&AI Health Check | PASS |
      ------------------------------------------------------------------------------
      Basic Policy Health Check | PASS |
      ------------------------------------------------------------------------------
      Basic MSO Health Check | PASS |
      ------------------------------------------------------------------------------
      Basic ASDC Health Check | FAIL |
      500 != 200
      ------------------------------------------------------------------------------
      Basic APPC Health Check | PASS |
      ------------------------------------------------------------------------------
      Basic Portal Health Check | PASS |
      ------------------------------------------------------------------------------
      Basic Message Router Health Check | PASS |
      ------------------------------------------------------------------------------
      Basic VID Health Check | PASS |
      ------------------------------------------------------------------------------
      OpenECOMP ETE.Robot.Testsuites.Health-Check :: Testing ecomp compo... | FAIL |
      10 critical tests, 8 passed, 2 failed
      10 tests total, 8 passed, 2 failed

      On executing the rest query for the ASDC health, I am seeing cassandra is down:

      {
      "sdcVersion": "1.1.0-SNAPSHOT",
      "siteMode": "unknown",
      "componentsInfo": [
      {
      "healthCheckComponent": "BE",
      "healthCheckStatus": "UP",
      "version": "1.1.0-SNAPSHOT",
      "description": "OK"
      },
      {
      "healthCheckComponent": "TITAN",
      "healthCheckStatus": "UP",
      "description": "OK"
      },
      {
      "healthCheckComponent": "DE",
      "healthCheckStatus": "UP",
      "description": "OK"
      },
      {
      "healthCheckComponent": "CASSANDRA",
      "healthCheckStatus": "DOWN",
      "description": "Cassandra is down"
      },
      {
      "healthCheckComponent": "ON_BOARDING",
      "healthCheckStatus": "DOWN",
      "description": "Onboarding unexpected response: Read timed out"
      },
      {
      "healthCheckComponent": "FE",
      "healthCheckStatus": "UP",
      "version": "1.1.0-SNAPSHOT",
      "description": "OK"
      }
      ]
      }

       

      In cassandra docker logs, there is no execution but I can see error in elastic search logs.

      docker logs:

      sdc-cs: http://paste.ubuntu.com/25119217/

      sdc-es: http://paste.ubuntu.com/25119215/

       

            subhash_singh subhash_singh
            subhash_singh subhash_singh
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: