Hello,
I hope someone can help here.
I have a lab cluster running 1.7.5.
It has been running fine for month. It's a lab so we can delete the index, the data,...
last week i realized that the cluster state was red and I had the following status:
curl 'http://localhost:9200/_cluster/_status?pretty'
{
"error" : "ClusterBlockException[blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];]",
"status" : 503
}
There was no error in the ES log files of the nodes (1 client, 2 data and 2 master).
I tried some restart, I even deleted all the data first with index delete API then directly from the nodes FS in each nodes and restarted but the status stayed red.
it's like the status is permanently stored as RED and I could not find a way to reset it.
Anyone know ho to do this?
Antoine
the state is:
curl -XGET 'http://localhost:9200/_cluster/state?pretty'
{
"cluster_name" : "DEVES17",
"version" : 4,
"master_node" : "pXv111crTtutpuYe3ROXkw",
"blocks" : {
"global" : {
"1" : {
"description" : "state not recovered / initialized",
"retryable" : true,
"disable_state_persistence" : true,
"levels" : [ "read", "write", "metadata_read", "metadata_write" ]
}
}
},
"nodes" : {
"bk3vIkpHSxqcxRGFibjtJQ" : {
"name" : "DEVES17_NODE_CLIENT1",
"transport_address" : "inet[/10.30.19.95:9300]",
"attributes" : {
"tag" : "CLIENT1",
"data" : "false",
"master" : "false"
}
},
"QMiMDvdqQN2q6_E6EqGpBA" : {
"name" : "DEVES17_NODE_DATA1",
"transport_address" : "inet[/10.30.19.104:9300]",
"attributes" : {
"tag" : "DATA1",
"master" : "false"
}
},
"XsZU2pJdSqqYgJzbrjL4Aw" : {
"name" : "DEVES17_NODE_DATA2",
"transport_address" : "inet[/10.30.19.106:9300]",
"attributes" : {
"tag" : "DATA2",
"master" : "false"
}
},
"qHJaL7XvTuaBt5KPntjArg" : {
"name" : "DEVES17_NODE_MASTER1",
"transport_address" : "inet[/10.30.19.105:9300]",
"attributes" : {
"tag" : "MASTER1",
"data" : "false",
"master" : "true"
}
},
"pXv111crTtutpuYe3ROXkw" : {
"name" : "DEVES17_NODE_MASTER2",
"transport_address" : "inet[/10.30.19.107:9300]",
"attributes" : {
"tag" : "MASTER2",
"data" : "false",
"master" : "true"
}
}
},
"metadata" : {
"templates" : { },
"indices" : { }
},
"routing_table" : {
"indices" : { }
},
"routing_nodes" : {
"unassigned" : [ ],
"nodes" : {
"XsZU2pJdSqqYgJzbrjL4Aw" : [ ],
"QMiMDvdqQN2q6_E6EqGpBA" : [ ]
}
},
"allocations" : [ ]
}