ES Cluster State Red - cannot allocate because allocation is not permitted to any of the nodes that hold an in-sync shard copy

Hi akshaymaniyar,

not sure how much help this will be...

Some observations:

  • Looks like you are running Elasticsearch version 5.5.1, not 5.5.0 (probably just a typo)
  • Recommended JVM version for Elasticsearch 5.x is 1.8.0_131 pr later as far as I know

The issue might be something simmilart to Red Cluster State: failed to obtain in-memory shard lock · Issue #23199 · elastic/elasticsearch · GitHub

Recommended fix was

curl -XPOST 'localhost:9200/_cluster/reroute?retry_failed

Good luck!

-AB

2 Likes