Unassigned shards of index - not permitted by any node

Hey,

I'm trying to understand how to fix this issue of unassigned shards in my index:

When running the explain API - I'm getting "no" for allocation:

"can_allocate" : "no"

And in each node (9 of them), the deciders bring up the same explanation:

"node_decision" : "no",
      "deciders" : [
        {
          "decider" : "replica_after_primary_active",
          "decision" : "NO",
          "explanation" : "primary shard for this replica is not yet active"
        },
        {
          "decider" : "filter",
          "decision" : "NO",
          "explanation" : """node does not match index setting [index.routing.allocation.require] filters [data:"warm"]"""
        },
        {
          "decider" : "throttling",
          "decision" : "NO",
          "explanation" : "primary shard for this replica is not yet active"
        }
      ]

I couldn't resolve this issue or understand the information given by the explain API, and the search and actions on this index seems like they won't work.
Is there anything I'm missing about this?

Based on the errors in your logs, it appears that some of the shards are marked to be allocated in a warm data node, if you don't have at least the same amount of nodes with warm role, that the primary and replicas requirement specified in the ILM Policy, the allocation for this shards will fail.

1 Like

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