I've had some problems with my cluster when I added a simple synonyms bundle and clicked update.
Long story short it now looks more stable, but I have 3x unassigned shards across 2x indices:
.security (1)
my_index (2)
My cluster is multi-datacenter and has the following instances:
instance-0000000005
instance-0000000006
tiebreaker-0000000004
I have tried to allocate them directly using Kibana and the command:
POST /_cluster/reroute
{
"commands": [{
"allocate": {
"index": ".security",
"shard": 0,
"node": "instance-0000000005",
"allow_primary": true
}
}]
}
POST /_cluster/reroute
{
"commands": [{
"allocate": {
"index": "my_index",
"shard": 0,
"node": "instance-0000000005",
"allow_primary": true
}
}]
}
But I get:
{
"error": {
"root_cause": [
{
"type": "unknown_named_object_exception",
"reason": "Unknown AllocationCommand [allocate]",
"line": 3,
"col": 17
}
],
"type": "parsing_exception",
"reason": "[cluster_reroute] failed to parse field [commands]",
"line": 3,
"col": 17,
"caused_by": {
"type": "unknown_named_object_exception",
"reason": "Unknown AllocationCommand [allocate]",
"line": 3,
"col": 17
}
},
"status": 400
}
How do i get these shards assigned using Elastic Cloud?