# Elasticsearch cluster state is yellow

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-state-is-yellow/106173>\
**Category:** Elasticsearch\
**Created:** [November 2, 2017, 10:47am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-state-is-yellow/106173 "2017-11-02T10:47:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![raja\_gopal](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@raja\_gopal](https://discuss.elastic.co/u/raja_gopal)\
**Post date:** [November 2, 2017, 10:47am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-state-is-yellow/106173/1 "2017-11-02T10:47:32Z")

</div>

I have a 3 node cluster and i have set minimum master node to 1. My cluster was working fine these days. But now i am a find a issue, that whatever new index i create other than .kibana all are in yellow state. When i try to reroute the index i get the following error message.

> "reason" : "[allocate\_replica] allocation of [smarts-historical][0] on node {node2}{fBUkdNQ1StCKR0xq5AwV8A}{c\_SuNyGARhWKXLuoBtgKQA}{lonlalkibsrv01}{192.168.10.11:9300} is not allowed, reason: [YES(shard has no previous failures)][YES(primary shard for this replica is already active)][YES(explicitly ignoring any disabling of allocation due to manual allocation commands via the reroute API)][NO(target node version [5.5.1] is older than the source node version [5.6.2])][YES(the shard is not being snapshotted)][YES(node passes include/exclude/require filters)][YES(the shard does not exist on the same node)][YES(enough disk for shard on node, free: [51.6gb], shard size: [0b], free after allocating shard: [51.6gb])][YES(below shard recovery limit of outgoing: [0 \< 2] incoming: [0 \< 2])][YES(total shard limits are disabled: [index: -1, cluster: -1] \<= 0)][YES(allocation awareness is not enabled, set cluster setting [cluster.routing.allocation.awareness.attributes] to enable it)]"

I tried searching for disk usage and found /usr is used more than 15%, will that be a reason.

---

<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:** [November 2, 2017, 11:12am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-state-is-yellow/106173/2 "2017-11-02T11:12:51Z")

</div>

It looks like the nodes in your cluster are not all running exactly the same version of Elasticsearch, which will prevent replicas being generated or moved to older nodes. Upgrade nodes with older versions to rectify this. Also review your config to make sure you have `minimum_master_nodes` [set correctly to avoid split-brain scenarios](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-node.html#split-brain).

---

<div class="post-metadata">

**Author:** ![raja\_gopal](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@raja\_gopal](https://discuss.elastic.co/u/raja_gopal)\
**Post date:** [November 2, 2017, 12:06pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-state-is-yellow/106173/3 "2017-11-02T12:06:24Z")

</div>

Thanks for the help. One of the nodes in the cluster is upgraded.

---

<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:** [November 30, 2017, 12:06pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-state-is-yellow/106173/4 "2017-11-30T12:06:30Z")

</div>

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