Added a new machine - it gets no shards :(

Hi,

I have an old 1.0.0 ES cluster in production, just added a new machine to the cluster and it changed its state to 'Yellow' as expected.

however, it seems like it is stuck, and no shards are being allocated to it.
running: :9200/_cluster/health?pretty=true yields the following:

{
"cluster_name" : "mycluster",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 12,
"number_of_data_nodes" : 12,
"active_primary_shards" : 230,
"active_shards" : 2530,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 230
}

in the yml we have the following settings:
index.number_of_shards: 1
index.auto_expand_replicas: "0-all"
#index.number_of_replicas: 0

thanks.

Ok,
so i've removed an older machine, and the new machine started replicating immediately.
is there some kind of limit on the number of replicas?

I can't really comment on this one, but this is an old version and newer versions got a lot of fixes, especially around how elasticsearch works as a distributed system, so maybe you should look into upgrading and see if the issue still exists?

found it - its awarnes stuff

https://www.elastic.co/guide/en/elasticsearch/reference/current/allocation-awareness.html