# Shards are not getting relocated after my cluster setup

**URL:** <https://discuss.elastic.co/t/shards-are-not-getting-relocated-after-my-cluster-setup/212448>\
**Category:** Elasticsearch\
**Created:** [December 19, 2019, 7:44am UTC](https://discuss.elastic.co/t/shards-are-not-getting-relocated-after-my-cluster-setup/212448 "2019-12-19T07:44:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![das\_santosh](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@das\_santosh](https://discuss.elastic.co/u/das_santosh)\
**Post date:** [December 19, 2019, 7:44am UTC](https://discuss.elastic.co/t/shards-are-not-getting-relocated-after-my-cluster-setup/212448/1 "2019-12-19T07:44:03Z")

</div>

Hi All,

I have done my 6 node ELK cluster setup and created a test index.

but after i created a test index shards are not getting relocated to other node and cluster status is changing to "RED" and i am getting the below error , hence can someone please assist me on this. I have checked all the YML configuration and logs and everything looks good.

# ERROR

{  
"index": "testes2",  
"shard": 3,  
"primary": true,  
"current\_state": "unassigned",  
"unassigned\_info": {  
"reason": "INDEX\_CREATED",  
"at": "2019-12-19T07:16:16.791Z",  
"last\_allocation\_status": "no"  
},  
"can\_allocate": "no",  
"allocate\_explanation": "cannot allocate because allocation is not permitted to any of the nodes",  
"node\_allocation\_decisions": [  
{  
"node\_id": "NgdWtAOZSO2awEU315Ko5A",  
"node\_name": "ateu5m-cbs-elk-es-vm1",  
"transport\_address": "172.17.3.199:9300",  
"node\_decision": "no",  
"weight\_ranking": 1,  
"deciders": [  
{  
"decider": "enable",  
"decision": "NO",  
"explanation": "no allocations are allowed due to cluster setting [cluster.routing.allocation.enable=none]"  
},  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the high watermark cluster setting [cluster.routing.allocation.disk.watermark.high=10gb], having less than the minimum required [10gb] free space, actual free: [6.3gb]"  
}  
]  
},  
{  
"node\_id": "-9NrqQqaTSqs0\_LO5pgONA",  
"node\_name": "ateu5m-cbs-elk-es-vm6",  
"transport\_address": "172.17.3.205:9300",  
"node\_decision": "no",  
"weight\_ranking": 2,  
"deciders": [  
{  
"decider": "enable",  
"decision": "NO",  
"explanation": "no allocations are allowed due to cluster setting [cluster.routing.allocation.enable=none]"  
},  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the high watermark cluster setting [cluster.routing.allocation.disk.watermark.high=10gb], having less than the minimum required [10gb] free space, actual free: [6.3gb]"  
}  
]  
},  
{  
"node\_id": "M6m\_eb5jT3aXS1le6hVjkw",  
"node\_name": "ateu5m-cbs-elk-es-vm5",  
"transport\_address": "172.17.3.198:9300",  
"node\_decision": "no",  
"weight\_ranking": 3,  
"deciders": [  
{  
"decider": "enable",  
"decision": "NO",  
"explanation": "no allocations are allowed due to cluster setting [cluster.routing.allocation.enable=none]"  
},  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the high watermark cluster setting [cluster.routing.allocation.disk.watermark.high=10gb], having less than the minimum required [10gb] free space, actual free: [6.3gb]"  
}  
]  
},  
{  
"node\_id": "Ggeh-XEPRi6wS-YpMrJNeg",  
"node\_name": "ateu5m-cbs-elk-es-vm4",  
"transport\_address": "172.17.3.200:9300",  
"node\_decision": "no",  
"weight\_ranking": 4,  
"deciders": [  
{  
"decider": "enable",  
"decision": "NO",  
"explanation": "no allocations are allowed due to cluster setting [cluster.routing.allocation.enable=none]"  
},  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the high watermark cluster setting [cluster.routing.allocation.disk.watermark.high=10gb], having less than the minimum required [10gb] free space, actual free: [6.3gb]"  
}  
]  
},  
{  
"node\_id": "zPl1fdyuRM6cfv\_SSzUY6g",  
"node\_name": "ateu5m-cbs-elk-es-vm2",  
"transport\_address": "172.17.3.202:9300",  
"node\_decision": "no",  
"weight\_ranking": 5,  
"deciders": [  
{  
"decider": "enable",  
"decision": "NO",  
"explanation": "no allocations are allowed due to cluster setting [cluster.routing.allocation.enable=none]"  
},  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the high watermark cluster setting [cluster.routing.allocation.disk.watermark.high=10gb], having less than the minimum required [10gb] free space, actual free: [6.3gb]"  
}  
]  
},  
{  
"node\_id": "e3F4LDawSqSlIaf-\_HZjKw",  
"node\_name": "ateu5m-cbs-elk-es-vm3",  
"transport\_address": "172.17.3.203:9300",  
"node\_decision": "no",  
"weight\_ranking": 6,  
"deciders": [  
{  
"decider": "enable",  
"decision": "NO",  
"explanation": "no allocations are allowed due to cluster setting [cluster.routing.allocation.enable=none]"  
},  
{  
"decider": "disk\_threshold",  
"decision": "NO",  
"explanation": "the node is above the high watermark cluster setting [cluster.routing.allocation.disk.watermark.high=10gb], having less than the minimum required [10gb] free space, actual free: [6.3gb]"  
}  
]  
}  
]  
}

# Below are few information about my environment.

Total node : 6  
Version : 6.2.4

# Diskspace :

Filesystem Size Used Avail Use% Mounted on  
devtmpfs 3.4G 0 3.4G 0% /dev  
tmpfs 3.4G 0 3.4G 0% /dev/shm  
tmpfs 3.4G 9.1M 3.4G 1% /run  
tmpfs 3.4G 0 3.4G 0% /sys/fs/cgroup  
/dev/mapper/rootvg-rootlv 7.8G 1014M 6.4G 14% /  
/dev/mapper/rootvg-usrlv 9.8G 2.1G 7.2G 23% /usr  
/dev/sda1 976M 44M 866M 5% /boot  
/dev/mapper/rootvg-varlv 7.8G 222M 7.2G 3% /var  
/dev/mapper/rootvg-homelv 976M 281M 629M 31% /home  
/dev/mapper/rootvg-optlv 2.0G 6.1M 1.8G 1% /opt  
/dev/mapper/rootvg-tmplv 2.0G 6.4M 1.8G 1% /tmp  
/dev/sdb1 99G 61M 94G 1% /mnt/resource  
/dev/mapper/vg\_dynatrace-lv\_dynatrace 2.9G 4.6M 2.8G 1% /dynatrace  
tmpfs 696M 0 696M 0% /run/user/1000

Regards,  
Santosh

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [December 19, 2019, 9:00am UTC](https://discuss.elastic.co/t/shards-are-not-getting-relocated-after-my-cluster-setup/212448/2 "2019-12-19T09:00:52Z")

</div>

You have disabled shard allocation...

> `no allocations are allowed due to cluster setting [cluster.routing.allocation.enable=none]`

... and do not have enough free disk space ...

> `the node is above the high watermark cluster setting [cluster.routing.allocation.disk.watermark.high=10gb], having less than the minimum required [10gb] free space, actual free: [6.3gb]`

---

<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:** [January 16, 2020, 9:00am UTC](https://discuss.elastic.co/t/shards-are-not-getting-relocated-after-my-cluster-setup/212448/3 "2020-01-16T09:00:55Z")

</div>

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