After reboot, i got some unassigned shards.
logstash-2017.12.08 3 p UNASSIGNED
logstash-2017.12.08 3 r UNASSIGNED
logstash-2017.12.08 4 p UNASSIGNED
logstash-2017.12.08 4 r UNASSIGNED
logstash-2017.12.08 2 p UNASSIGNED
logstash-2017.12.08 2 r UNASSIGNED
logstash-2017.12.08 1 p UNASSIGNED
logstash-2017.12.08 1 r UNASSIGNED
logstash-2017.12.08 0 p UNASSIGNED
logstash-2017.12.08 0 r UNASSIGNED
now i am trying to assigned it but i got
root@04elasticsearch:~# curl -XPOST 'http://localhost:9200/_cluster/reroute' -d '{ "commands" : [ { "index" : "logstash-2017.12.08", "allocate" : { "shard" : 3, "node" : "7vuMfymHTTOzxlcTtAkk9g", "allow_primary" : true } } ]}' | jq .
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 514 100 368 100 146 62542 24813 --:--:-- --:--:-- --:--:-- 73600
{
"status": 400,
"error": {
"caused_by": {
"col": 31,
"line": 1,
"reason": "Unknown AllocationCommand [index]",
"type": "unknown_named_object_exception"
},
"col": 31,
"line": 1,
"reason": "[cluster_reroute] failed to parse field [commands]",
"type": "parsing_exception",
"root_cause": [
{
"col": 31,
"line": 1,
"reason": "Unknown AllocationCommand [index]",
"type": "unknown_named_object_exception"
}
]
}
}