Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24361

Fix ES server status detection by the status servlet

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The status servlet correctly detects ES server status
    • Team:
      AT
    • Sprint:
      nxAT Sprint 10.1.2
    • Story Points:
      1

      Description

      Steps to reproduce:

      • on 9.10 (or 10.1-SNAPSHOT), configure a Nuxeo to hit a ES server by adding to the nuxeo.conf, for instance:
      elasticsearch.enabled=true
      elasticsearch.client=RestClient
      elasticsearch.addressList=localhost:9200
      elasticsearch.clusterName=mycluster
      elasticsearch.indexName=myindex
      elasticsearch.indexNumberOfReplicas=0
      
      {"runtimeStatus":"ok","elasticSearchStatus":"ok","ldapDirectories":"ok","repositoryStatus":"ok"}
      
      • check that search works alright in UI
      • stop the ES server
      • check that the search does not work ok anymore in the UI
      • check status servlet response: it has not changed even if it should now state (eventually after the 20s - default cache value on probes)
      {"runtimeStatus":"ok","elasticSearchStatus":"failed","ldapDirectories":"ok","repositoryStatus":"ok"}
      

      When restarting the ES server, the search is working alright again (ES service reconnection works ok).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h