# Elasticsearch is gone Red after delete index

**URL:** <https://discuss.elastic.co/t/elasticsearch-is-gone-red-after-delete-index/165538>\
**Category:** Elasticsearch\
**Created:** [January 24, 2019, 7:22am UTC](https://discuss.elastic.co/t/elasticsearch-is-gone-red-after-delete-index/165538 "2019-01-24T07:22:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![merceskoba](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@merceskoba](https://discuss.elastic.co/u/merceskoba)\
**Post date:** [January 24, 2019, 7:22am UTC](https://discuss.elastic.co/t/elasticsearch-is-gone-red-after-delete-index/165538/1 "2019-01-24T07:22:12Z")

</div>

This ES instance is in staging server but i am still curious to solve this case.  
So, yesterday i deleted one index. And then, the server is red suddenly.  
I am using Cerebro for understand it visually  
[![](https://i.ibb.co/C2SrVzH/image.png) ](https://i.ibb.co/C2SrVzH/image.png)  
`743 unassigned shards` with grey boxes.  
What should i do ?  
Thank you for your time and idea

---

<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:** [January 24, 2019, 7:27am UTC](https://discuss.elastic.co/t/elasticsearch-is-gone-red-after-delete-index/165538/2 "2019-01-24T07:27:13Z")

</div>

As you only have one node in the cluster Elasticsearch will not be able to allocate replicas, which seem to account for at least a large portion of the unallocated shards. Unless you also have primary shards unallocated, this is not something to be concerned about.

You do however seem to have too many shards in your cluster given the node count and data volume, so I would recommend you read [this blog post about shards and sharding guidelines](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster).

---

<div class="post-metadata">

**Author:** ![merceskoba](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@merceskoba](https://discuss.elastic.co/u/merceskoba)\
**Post date:** [January 24, 2019, 7:54am UTC](https://discuss.elastic.co/t/elasticsearch-is-gone-red-after-delete-index/165538/3 "2019-01-24T07:54:57Z")

</div>

I am also reading this [RED Elasticsearch Cluster? Panic no longer | Elastic Blog](https://www.elastic.co/blog/red-elasticsearch-cluster-panic-no-longer)  
It seems enlightening me LOL  
But, i got this after run `/allocation/explain` command

> root@es-staging-10-255-13-51:~# curl -X GET "10.255.13.51:9200/\_cluster/allocation/explain"?pretty  
> {  
> "index" : "-instagram-7-2018",  
> "shard" : 4,  
> "primary" : false,  
> "current\_state" : "unassigned",  
> "unassigned\_info" : {  
> "reason" : "CLUSTER\_RECOVERED",  
> "at" : "2019-01-23T03:32:56.294Z",  
> "last\_allocation\_status" : "no\_attempt"  
> },  
> "can\_allocate" : "no",  
> "allocate\_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",  
> "node\_allocation\_decisions" : [  
> {  
> "node\_id" : "b-bg1FkWQISXvyMyHZ2svQ",  
> "node\_name" : "elastic-staging",  
> "transport\_address" : "10.255.13.51:9300",  
> "node\_decision" : "no",  
> "deciders" : [  
> {  
> "decider" : "same\_shard",  
> "decision" : "NO",  
> "explanation" : "the shard cannot be allocated to the same node on which a copy of the shard already exists [[instagram-7-2018][4], node[b-bg1FkWQISXvyMyHZ2svQ], [P], s[STARTED], a[id=OpftlDlKRY2wEdi-nZEKyw]]"  
> }  
> ]  
> }  
> ]  
> }

---

<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:** [February 21, 2019, 7:54am UTC](https://discuss.elastic.co/t/elasticsearch-is-gone-red-after-delete-index/165538/4 "2019-02-21T07:54:59Z")

</div>

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