# Shards Allocation problem

**URL:** <https://discuss.elastic.co/t/shards-allocation-problem/82673>\
**Category:** Elasticsearch\
**Created:** [April 18, 2017, 9:15am UTC](https://discuss.elastic.co/t/shards-allocation-problem/82673 "2017-04-18T09:15:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tigryss](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@Tigryss](https://discuss.elastic.co/u/Tigryss)\
**Post date:** [April 18, 2017, 9:15am UTC](https://discuss.elastic.co/t/shards-allocation-problem/82673/1 "2017-04-18T09:15:04Z")

</div>

If I try to allocate my shards, i get this message. Any solution?

{  
"error": {  
"root\_cause": [  
{  
"type": "illegal\_argument\_exception",  
"reason": "[move\_allocation] can't move [logstash-2017.04.18][5], from {logstash1}{WQw8TaAuTH6sQCp4BUPWKA}{[xxx.xxx.xxx.xxx](http://xxx.xxx.xxx.xxx)}{[xxx.xxx.xxx.xxx:9300](http://xxx.xxx.xxx.xxx:9300)}{max\_local\_storage\_nodes=1, master=true}, to {logstash2}{S0tO6YGqTDmLdxAujsJnPQ}{[xxx.xxx.xxx.xxx](http://xxx.xxx.xxx.xxx)}{[xxx.xxx.xxx.xxx:9300](http://xxx.xxx.xxx.xxx:9300)}{max\_local\_storage\_nodes=1, master=true}, since its not allowed, reason: [YES(no snapshots are currently running)][YES(allocation disabling is ignored)][YES(target node version [2.4.1] is same or newer than source node version [2.4.1])][YES(shard is not allocated to same node or host)][YES(shard is primary)][YES(no allocation awareness enabled)][YES(below shard recovery limit of [2])][YES(node passes include/exclude/require filters)][YES(total shard limit disabled: [index: -1, cluster: -1] \<= 0)][YES(allocation disabling is ignored)][NO(after allocation less than required [800gb] free on node, free: [947.2gb])]"  
}  
],  
"type": "illegal\_argument\_exception",  
"reason": "[move\_allocation] can't move [logstash-2017.04.18][5], from {logstash1}{WQw8TaAuTH6sQCp4BUPWKA}{[xxx.xxx.xxx.xxx](http://xxx.xxx.xxx.xxx)}{[xxx.xxx.xxx.xxx:9300](http://xxx.xxx.xxx.xxx:9300)}{max\_local\_storage\_nodes=1, master=true}, to {logstash2}{S0tO6YGqTDmLdxAujsJnPQ}{[xxx.xxx.xxx.xxx](http://xxx.xxx.xxx.xxx)}{[xxx.xxx.xxx.xxx:9300](http://xxx.xxx.xxx.xxx:9300)}{max\_local\_storage\_nodes=1, master=true}, since its not allowed, reason: [YES(no snapshots are currently running)][YES(allocation disabling is ignored)][YES(target node version [2.4.1] is same or newer than source node version [2.4.1])][YES(shard is not allocated to same node or host)][YES(shard is primary)][YES(no allocation awareness enabled)][YES(below shard recovery limit of [2])][YES(node passes include/exclude/require filters)][YES(total shard limit disabled: [index: -1, cluster: -1] \<= 0)][YES(allocation disabling is ignored)][NO(after allocation less than required [800gb] free on node, free: [947.2gb])]"  
},  
"status": 400  
}

---

<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:** [April 18, 2017, 9:48am UTC](https://discuss.elastic.co/t/shards-allocation-problem/82673/2 "2017-04-18T09:48:24Z")

</div>

> [@Tigryss](#):
>
> NO(after allocation less than required [800gb] free on node, free: [947.2gb]

Looks like you need more disk space.

---

<div class="post-metadata">

**Author:** ![Tigryss](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@Tigryss](https://discuss.elastic.co/u/Tigryss)\
**Post date:** [April 19, 2017, 9:28am UTC](https://discuss.elastic.co/t/shards-allocation-problem/82673/3 "2017-04-19T09:28:45Z")

</div>

> [@warkolm](#):
>
> ter allocation less than required [800gb]

I changed some config params, and now the node1 and node2 running fine but the node3 don't. I compared the configs but there is no diff just node name...

{  
"error": {  
"root\_cause": [  
{  
"type": "remote\_transport\_exception",  
"reason": "[logstash2][xxx.xxx.xxx.xxx:9300][cluster:admin/reroute]"  
}  
],  
"type": "illegal\_argument\_exception",  
"reason": "[move\_allocation] can't move [logstash-2017.04.18][4], from {ccb\_logstash1}{tyamrv7MQA-v98\_5zTSVEQ}{xxx.xxx.xxx.xxx}{xxx.xxx.xxx.xxx:9300}{max\_local\_storage\_nodes=1, master=true}, to {ccb\_logstash3}{A0zlcY7-TXOP4uO7zAZdSg}{xxx.xxx.xxx.xxx}{xxx.xxx.xxx.xxx:9300}{max\_local\_storage\_nodes=1, master=true}, since its not allowed, reason: [YES(no snapshots are currently running)][YES(allocation disabling is ignored)][YES(target node version [2.4.1] is same or newer than source node version [2.4.1])][YES(shard is not allocated to same node or host)][YES(shard is primary)][YES(no allocation awareness enabled)][YES(below shard recovery limit of [2])][YES(node passes include/exclude/require filters)][YES(total shard limit disabled: [**index: -1, cluster: -1**] \<= 0)][YES(allocation disabling is ignored)][NO(after allocation less than required [50gb] free on node, free: [870.8gb])]"  
},  
"status": 400  
}

i can't understand the strong marked -1.

---

<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:** [April 19, 2017, 10:01am UTC](https://discuss.elastic.co/t/shards-allocation-problem/82673/4 "2017-04-19T10:01:56Z")

</div>

> [@Tigryss](#):
>
> NO(after allocation less than required [50gb] free on node, free: [870.8gb]

Still a disk issue.

---

<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:** [May 17, 2017, 10:10am UTC](https://discuss.elastic.co/t/shards-allocation-problem/82673/5 "2017-05-17T10:10:43Z")

</div>

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