# 5.1.1 : All shards unassigned?

**URL:** https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649
**Category:** Elasticsearch
**Created:** [January 5, 2017, 8:25am UTC](https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649 "2017-01-05T08:25:02Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)
#### Post date: [January 5, 2017, 8:25am UTC](https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649/1 "2017-01-05T08:25:03Z")

</div>

Hi,  
I have a new cluster up and running and when I started up logstash it started sending heartbeat data through. However, all shards (primary and replica) for the newly created index remain unassigned with no reason code shown.  
Shard allocation is enabled so I'm confused by the turn of events. Can someone throw some light on this for me? Is there some other step required to get the cluster managing these shards?

Regards,  
David

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [January 5, 2017, 8:28am UTC](https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649/2 "2017-01-05T08:28:33Z")

</div>

Do you have enough disk space?  
Are all nodes of the same version?

---

<div class="post-metadata">

### Author: ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)
#### Post date: [January 5, 2017, 3:17pm UTC](https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649/3 "2017-01-05T15:17:44Z")

</div>

Hi,  
Yes, there's 1TB per data node and all nodes are same version. I've just fired up kibana and see this:

```
# curl "$(hostname -I):9200/_cat/shards?pretty"
.kibana 0 p UNASSIGNED
.kibana 0 r UNASSIGNED

```

...on one of the data nodes. I'm not seeing anything logged yet to give me a clue as to what's going on.

Regards,  
David

---

<div class="post-metadata">

### Author: ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)
#### Post date: [January 5, 2017, 3:23pm UTC](https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649/4 "2017-01-05T15:23:36Z")

</div>

On the master node I see:

```
[2017-01-05T14:36:08,242][INFO][o.e.c.m.MetaDataCreateIndexService] [es_az1_master_001] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [server, config]
[2017-01-05T14:36:08,286][INFO][o.e.c.r.a.AllocationService] [es_az1_master_001] Cluster health status changed from [YELLOW] to [RED] (reason: [index [.kibana] created]).
```

---

<div class="post-metadata">

### Author: ![dawiro](https://avatars.discourse-cdn.com/v4/letter/d/71e660/32.png) [@dawiro](https://discuss.elastic.co/u/dawiro)
#### Post date: [January 9, 2017, 9:51am UTC](https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649/5 "2017-01-09T09:51:07Z")

</div>

Ah, it turns out that zone identification hadn't been set due to changes in 5.x. Looking better now...

---

<div class="post-metadata">

### Author: ![Archit\_Saxena](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@Archit\_Saxena](https://discuss.elastic.co/u/Archit_Saxena)
#### Post date: [January 31, 2017, 11:40am UTC](https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649/6 "2017-01-31T11:40:51Z")

</div>

hey, what do you mean by zone identification? Can you please elaborate? I have the same problem

---

<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 28, 2017, 11:41am UTC](https://discuss.elastic.co/t/5-1-1-all-shards-unassigned/70649/7 "2017-02-28T11:41:07Z")

</div>

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