Active_primary_shard is NULL

(krishna singh) #1

hi all,

I am Facing new error please guys help me out.

"cluster_name": "elastic-es",
"status": "red",
"timed_out": false,
"number_of_nodes": 3,
"number_of_data_nodes": 2,
"active_primary_shards": 0,
"active_shards": 0,
"relocating_shards": 0,
"initializing_shards": 8,
"unassigned_shards": 32,
"delayed_unassigned_shards": 0,
"number_of_pending_tasks": 0,
"number_of_in_flight_fetch": 0

My active primary Shard is Showing Null.I have 1 master and 2 data node.

(Ali Beyad) #2


Did you get retrieve this cluster status when your cluster was just coming up? Because it says you have 8 shards that are still in the initializing phase (i.e. they are not ready yet). Its possible the cluster was still initializing when you ran the health check. Your cluster is red because you have no active primary shards available. Anytime a shard doesn't have an active primary (and no replicas to promote to primary), the cluster will be red until a primary is recovered.

How many primary shards and how many replicas did you allocate for your index(es) in the cluster?

(system) #3