# \[elasticsearch 2.3\] automatic shard rebalance?

**URL:** https://discuss.elastic.co/t/elasticsearch-2-3-automatic-shard-rebalance/123775
**Category:** Elasticsearch
**Created:** [March 13, 2018, 4:23pm UTC](https://discuss.elastic.co/t/elasticsearch-2-3-automatic-shard-rebalance/123775 "2018-03-13T16:23:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mobidyc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mobidyc/32/42027_2.png) [@mobidyc](https://discuss.elastic.co/u/mobidyc)
#### Post date: [March 13, 2018, 4:23pm UTC](https://discuss.elastic.co/t/elasticsearch-2-3-automatic-shard-rebalance/123775/1 "2018-03-13T16:23:41Z")

</div>

Hello,

I have one node on 24 receiving zero shards, and I can't figure out why.  
Nothing in the logs, cluster is green, node accepts requests.

any Idea on how to identify the problem?

```
# curl -s '127.0.0.1:9200/_cat/allocation?v'
shards disk.indices disk.used disk.avail disk.total disk.percent host ip node                
    49 123gb 1.4tb 2tb 3.5tb 41 192.168.25.46 192.168.25.46 node-24 
    50 146gb 1.3tb 2.2tb 3.5tb 36 192.168.25.45 192.168.25.45 node-23 
    50 131.5gb 1.3tb 2.2tb 3.5tb 37 192.168.25.42 192.168.25.42 node-20 
    49 150.5gb 1.5tb 1.9tb 3.5tb 44 192.168.25.35 192.168.25.35 node-13 
    49 161gb 1.3tb 2.2tb 3.5tb 37 192.168.25.44 192.168.25.44 node-22 
    49 130.1gb 1.3tb 2.2tb 3.5tb 37 192.168.25.43 192.168.25.43 node-21 
    50 830.2gb 2tb 1.5tb 3.5tb 57 192.168.25.17 192.168.25.17 node-03 
    49 129.7gb 1.3tb 2.2tb 3.5tb 37 192.168.25.40 192.168.25.40 node-18 
     0 0b 1.8tb 1.7tb 3.5tb 50 192.168.25.15 192.168.25.15 node-01 
    50 868.2gb 2tb 1.5tb 3.5tb 56 192.168.25.25 192.168.25.25 node-11 
    50 851.1gb 2tb 1.5tb 3.5tb 57 192.168.25.21 192.168.25.21 node-07 
    49 798.2gb 2tb 1.5tb 3.5tb 56 192.168.25.19 192.168.25.19 node-05 
    50 863gb 2tb 1.5tb 3.5tb 56 192.168.25.23 192.168.25.23 node-09 
    50 840.4gb 2tb 1.5tb 3.5tb 56 192.168.25.18 192.168.25.18 node-04 
    50 887.9gb 2tb 1.5tb 3.5tb 56 192.168.25.22 192.168.25.22 node-08 
    50 856.9gb 2tb 1.5tb 3.5tb 57 192.168.25.26 192.168.25.26 node-12 
    49 144.6gb 1.3tb 2.2tb 3.5tb 38 192.168.25.39 192.168.25.39 node-17 
    50 99.9gb 1.3tb 2.2tb 3.5tb 37 192.168.25.38 192.168.25.38 node-16 
    49 843.7gb 2tb 1.5tb 3.5tb 56 192.168.25.16 192.168.25.16 node-02 
    49 108.2gb 1.3tb 2.2tb 3.5tb 38 192.168.25.37 192.168.25.37 node-15 
    49 106.7gb 1.5tb 2tb 3.5tb 42 192.168.25.41 192.168.25.41 node-19 
    50 861.3gb 2.2tb 1.3tb 3.5tb 61 192.168.25.20 192.168.25.20 node-06 
    50 839.4gb 2tb 1.5tb 3.5tb 56 192.168.25.24 192.168.25.24 node-10 
    50 98.7gb 1.4tb 2.1tb 3.5tb 39 192.168.25.36 192.168.25.36 node-14 

# curl 127.0.0.1:9200/_cluster/health?pretty
{
  "cluster_name" : "mycluster",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 24,
  "number_of_data_nodes" : 24,
  "active_primary_shards" : 570,
  "active_shards" : 1140,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 100.0
}

# curl -s 127.0.0.1:9200/_cluster/settings?pretty
{
  "persistent" : {
    "indices" : {
      "recovery" : {
        "max_bytes_per_sec" : "200mb"
      }
    },
    "discovery" : {
      "zen" : {
        "minimum_master_nodes" : "21"
      }
    },
    "cluster" : {
      "routing" : {
        "rebalance" : {
          "enable" : "all"
        },
        "allocation" : {
          "enable" : "all"
        }
      }
    }
  },
  "transient" : {
    "indices" : {
      "recovery" : {
        "concurrent_streams" : "5"
      }
    },
    "cluster" : {
      "routing" : {
        "rebalance" : {
          "enable" : "all"
        },
        "allocation" : {
          "enable" : "all",
          "disable_replica_allocation" : "false",
          "cluster_concurrent_rebalance" : "10",
          "allow_rebalance" : "always",
          "disable_allocation" : "false"
        }
      }
    }
  }
}
```

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [March 13, 2018, 4:50pm UTC](https://discuss.elastic.co/t/elasticsearch-2-3-automatic-shard-rebalance/123775/2 "2018-03-13T16:50:52Z")

</div>

Are all nodes on exactly the same version? How come it lists `1.8tb` as used disk space?

---

<div class="post-metadata">

### Author: ![mobidyc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mobidyc/32/42027_2.png) [@mobidyc](https://discuss.elastic.co/u/mobidyc)
#### Post date: [March 13, 2018, 4:58pm UTC](https://discuss.elastic.co/t/elasticsearch-2-3-automatic-shard-rebalance/123775/3 "2018-03-13T16:58:40Z")

</div>

Well done, all nodes are 2.3.4 except the problematic node which is 2.3.0.  
the disk used space contains elasticsearch and other log datas

I will upgrade this node and check if it solves my problem 😉

thank you

---

<div class="post-metadata">

### Author: ![mobidyc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mobidyc/32/42027_2.png) [@mobidyc](https://discuss.elastic.co/u/mobidyc)
#### Post date: [March 13, 2018, 5:07pm UTC](https://discuss.elastic.co/t/elasticsearch-2-3-automatic-shard-rebalance/123775/4 "2018-03-13T17:07:09Z")

</div>

Update done, all my nodes are in version 2.3.4 now.

issue solved

thank you again 😉

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 10, 2018, 5:07pm UTC](https://discuss.elastic.co/t/elasticsearch-2-3-automatic-shard-rebalance/123775/5 "2018-04-10T17:07:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
