# Cluster Status is Yellow

**URL:** <https://discuss.elastic.co/t/cluster-status-is-yellow/131116>\
**Category:** Elasticsearch\
**Created:** [May 9, 2018, 7:31am UTC](https://discuss.elastic.co/t/cluster-status-is-yellow/131116 "2018-05-09T07:31:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukeshss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukeshss/32/46145_2.png) [@sukeshss](https://discuss.elastic.co/u/sukeshss)\
**Post date:** [May 9, 2018, 7:31am UTC](https://discuss.elastic.co/t/cluster-status-is-yellow/131116/1 "2018-05-09T07:31:37Z")

</div>

I am running ES cluster with 4 Data nodes, each has 100GB free disk space. But my cluster status is Yellow. There are unassigned shards in the newly created index.

is "active\_shards\_percent\_as\_number": 99.61656441717791 the reason ?  
Please find the cluster status and index status below,

**Cluster status**  
{  
"cluster\_name": "cluster\_name",  
"status": "yellow",  
"timed\_out": false,  
"number\_of\_nodes": 7,  
"number\_of\_data\_nodes": 4,  
"active\_primary\_shards": 652,  
"active\_shards": 1299,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 5,  
"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": 99.61656441717791  
}

**Index Status**  
"index\_name-09-05-18": {  
"status": "yellow",  
"number\_of\_shards": 5,  
"number\_of\_replicas": 1,  
"active\_primary\_shards": 5,  
"active\_shards": 5,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 5,  
"shards": {  
"0": {  
"status": "yellow",  
"primary\_active": true,  
"active\_shards": 1,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 1  
},  
"1": {  
"status": "yellow",  
"primary\_active": true,  
"active\_shards": 1,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 1  
},  
"2": {  
"status": "yellow",  
"primary\_active": true,  
"active\_shards": 1,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 1  
},  
"3": {  
"status": "yellow",  
"primary\_active": true,  
"active\_shards": 1,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 1  
},  
"4": {  
"status": "yellow",  
"primary\_active": true,  
"active\_shards": 1,  
"relocating\_shards": 0,  
"initializing\_shards": 0,  
"unassigned\_shards": 1  
}  
}  
},

---

<div class="post-metadata">

**Author:** ![Julien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien/32/19688_2.png) [@Julien](https://discuss.elastic.co/u/Julien)\
**Post date:** [May 10, 2018, 3:10pm UTC](https://discuss.elastic.co/t/cluster-status-is-yellow/131116/2 "2018-05-10T15:10:26Z")

</div>

You should find why the shard is not allocating using [allocation explain API](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cluster-allocation-explain.html) and then if you think the issue was solved, you can [retry the allocation](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-reroute.html#_retrying_failed_allocations)

---

<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:** [June 7, 2018, 3:10pm UTC](https://discuss.elastic.co/t/cluster-status-is-yellow/131116/3 "2018-06-07T15:10:29Z")

</div>

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