Hi,
I've migrated from elasticsearh 2.3.4 to 5.1.2, and tried hard to get my cluster discovered
I have a cluster of three data nodes, and one client node in front of them making requests.
But since the update, I have all my shards UNASSIGNED (412 shards)/
I tried to reallocate them following the new guideline, but it's not working , I don't have any shard initialized.
The command I run from the client node is :
for shard in $(curl -XGET http://10.3.16.91:9200/_cat/shards | grep logstash-2016.12.09 | grep UNASSIGNED | awk '{print $2}'); do
curl -XPOST 'http://10.3.16.91:9200/_cluster/reroute' -d '{
"commands" : [ {
"allocate_stale_primary" : {
"index" : "logstash-2016.12.09",
"shard" : '"$shard"',
"node" : "es-cluster.i-0db3ba0f4287fb527",
"accept_data_loss" : truePreformatted text
}
}
]
}'
sleep 3
done
And this is the kind of message I'm having in the screeenshot
<img src="//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/elastic/original/2X/7/7ba6e7b4efb79e54fc7b88d353bd962789bcad0c.png" width="446" height="500">
Can you hep make my cluster up and running?