# Node does not cluster setting \[cluster.routing.allocation.include\] filters

**URL:** <https://discuss.elastic.co/t/node-does-not-cluster-setting-cluster-routing-allocation-include-filters/254671>\
**Category:** Elasticsearch\
**Created:** [November 8, 2020, 1:33pm UTC](https://discuss.elastic.co/t/node-does-not-cluster-setting-cluster-routing-allocation-include-filters/254671 "2020-11-08T13:33:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ludaca](https://avatars.discourse-cdn.com/v4/letter/l/ac8455/32.png) [@ludaca](https://discuss.elastic.co/u/ludaca)\
**Post date:** [November 8, 2020, 1:33pm UTC](https://discuss.elastic.co/t/node-does-not-cluster-setting-cluster-routing-allocation-include-filters/254671/1 "2020-11-08T13:33:35Z")

</div>

Hello,

ES version 5.6.10  
16 data nodes  
3 master nodes

Can't perform any shard's relocation:

```auto
 Error while starting relocation
{
  "error": {
    "root_cause": [
      {
        "type": "remote_transport_exception",
        "reason": "[graylog-es-master-68d84fd5ff-4kvl5][10.244.3.205:9300][cluster:admin/reroute]"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "[move_allocation] can't move 8, from {graylog-es-data02-0}{h4tkkOIITZ68ywpS2fpG-A}{-Jqr5kAWSCmpJHcJlkfBAQ}{10.244.7.246}{10.244.7.246:9300}{ml.max_open_jobs=10, ml.enabled=true}, to {graylog-es-data05-3}{aDx6vKhZTbiLPVEnsA_Wpw}{pLouQGBRSE-OTm2Ph-4f7A}{10.244.9.89}{10.244.9.89:9300}{ml.max_open_jobs=10, ml.enabled=true}, since its not allowed, reason: [YES(shard has no previous failures)][YES(shard is primary and can be allocated)][YES(explicitly ignoring any disabling of allocation due to manual allocation commands via the reroute API)][YES(target node version [5.6.10] is the same or newer than source node version [5.6.10])][YES(no snapshots are currently running)][YES(ignored as shard is not being recovered from a snapshot)][NO(node does not cluster setting [cluster.routing.allocation.include] filters [_name:\"graylog-es-data01-0\"])][YES(the shard does not exist on the same node)][YES(enough disk for shard on node, free: [1.7tb], shard size: [19.2mb], free after allocating shard: [1.7tb])][YES(below shard recovery limit of outgoing: [0 < 2] incoming: [0 < 4])][YES(total shard limits are disabled: [index: -1, cluster: -1] <= 0)][YES(allocation awareness is not enabled, set cluster setting [cluster.routing.allocation.awareness.attributes] to enable it)]"
  },
  "status": 400

```

Any help will be appreciated.

---

<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:** [November 9, 2020, 1:18am UTC](https://discuss.elastic.co/t/node-does-not-cluster-setting-cluster-routing-allocation-include-filters/254671/2 "2020-11-09T01:18:40Z")

</div>

What does your `elasticsearch.yml` look like?

> [@ludaca](#):
>
> ES version 5.6.10

Please upgrade, 5.X has been [EOL](https://www.elastic.co/support/eol) for some time now 🙂

---

<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:** [November 9, 2020, 4:57am UTC](https://discuss.elastic.co/t/node-does-not-cluster-setting-cluster-routing-allocation-include-filters/254671/3 "2020-11-09T04:57:03Z")

</div>

> [@ludaca](#):
>
> `[NO(node does not cluster setting [cluster.routing.allocation.include] filters [_name:\"graylog-es-data01-0\"])]`

It looks like you have some index/cluster settings that prevent the relocation.

---

<div class="post-metadata">

**Author:** ![ludaca](https://avatars.discourse-cdn.com/v4/letter/l/ac8455/32.png) [@ludaca](https://discuss.elastic.co/u/ludaca)\
**Post date:** [November 9, 2020, 7:31am UTC](https://discuss.elastic.co/t/node-does-not-cluster-setting-cluster-routing-allocation-include-filters/254671/4 "2020-11-09T07:31:42Z")

</div>

At this time it is not possible to upgrade due to the use of software that only works with this version.

```auto
elasticsearch.yam 
cluster.name: "graylog-es"
network.host: 0.0.0.0
discovery.zen.minimum_master_nodes: 2
path.repo: ["/backup/clear_backup"]
and additional parameters passed via k8s ( elasticsearch deployed on k8s )
- name: node.master
          value: "false"
        - name: node.ingest
          value: "true"
        - name: node.data
          value: "true"
        - name: http.enabled
          value: "true"
        - name: xpack.security.enabled
          value: "false"
        - name: ES_JAVA_OPTS
          value: -Xms21g -Xmx21g
        - name: discovery.zen.ping.unicast.hosts
          value: graylog-es-discovery
        - name: discovery.zen.minimum_master_nodes
          value: "2"
        - name: index.store.type
          value: simplefs
        - name: thread_pool.bulk.queue_size
          value: "500"

```

I played with parameters as cluster.routing.allocation.exclude.\_name and cluster.routing.allocation.include.\_name, index.routing.allocation.exclude.\_name....  
For sure something prevent the relocation, I just can not find what exactly

---

<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:** [December 7, 2020, 7:31am UTC](https://discuss.elastic.co/t/node-does-not-cluster-setting-cluster-routing-allocation-include-filters/254671/5 "2020-12-07T07:31:44Z")

</div>

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