Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3292

investigate Elasticsearch yellow cluster with nuxeo helm chart preview

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      The nuxeo preview chart `nuxeo/ci/helm/preview` which requires nuxeo helm chart. An Elasticsearch cluster is deployed. 

      The cluster is yellow but works. We want to have a green cluster with only the 3 nodes we use up until now if possible.

      Connecting to the Elastic client pod we can follow the Elasticsearch reporting problems procedure

      (ES="localhost:9200"; curl "$ES"; curl "$ES/_cat/health?v"; curl "$ES/_cat/nodes?v"; curl "$ES/_cat/indices?v") > /tmp/nuxeo-elastic-`date +%Y%m%d-%H%M%S`.txt 

      The output is:

      {
        "name" : "preview-elasticsearch-client-856d775f54-r6qrd",
        "cluster_name" : "elasticsearch",
        "cluster_uuid" : "FnqWdJSTQzGhj_2WdfX37A",
        "version" : {
          "number" : "6.7.0",
          "build_flavor" : "oss",
          "build_type" : "docker",
          "build_hash" : "8453f77",
          "build_date" : "2019-03-21T15:32:29.844721Z",
          "build_snapshot" : false,
          "lucene_version" : "7.7.0",
          "minimum_wire_compatibility_version" : "5.6.0",
          "minimum_index_compatibility_version" : "5.0.0"
        },
        "tagline" : "You Know, for Search"
      }
      epoch      timestamp cluster       status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent
      1586338796 09:39:56  elasticsearch yellow          4         1     11  11    0    0       10             0                  -                 52.4%
      ip          heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
      10.60.2.111            8          73   5    0.44    0.35     0.36 di        -      preview-elasticsearch-data-0
      10.60.2.108           19          73   5    0.44    0.35     0.36 i         -      preview-elasticsearch-client-856d775f54-r6qrd
      10.60.8.132           25          94  10    1.18    1.66     2.04 mi        -      preview-elasticsearch-master-1
      10.60.2.109           19          73   5    0.44    0.35     0.36 mi        *      preview-elasticsearch-master-0
      health status index        uuid                   pri rep docs.count docs.deleted store.size pri.store.size
      yellow open   nuxeo-audit  FRIDhvUjTz2MZGTVSv_Iqg   5   1         33            0     97.9kb         97.9kb
      green  open   nuxeo-uidgen mBgu1xgyR66i9IIg-3lSJQ   1   0          1            0      2.3kb          2.3kb
      yellow open   nuxeo        rv9OQsChR9mvxFbyNMIj1g   5   1         28            2      274kb          274kb 

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 day, 4 hours
                  1d 4h