Hello,
I've build a new cluster with 2 nodes. All works fine without Xpack security.
When I enabled security and when I try to check the communication with the second node I've this error :
{
"error" : {
"root_cause" : [
{
"type" : "master_not_discovered_exception",
"reason" : null
}
],
"type" : "master_not_discovered_exception",
"reason" : null
},
"status" : 503
}
node 1 has this configuration : (the node 2 has the same config named el2 and his IP is 10.0.0.82
cluster.name: elcluster
node.name: el1
network.host: 10.0.0.81
http.port: 9200
discovery.seed_hosts: ["el1", "el2"]
cluster.initial_master_nodes: ["el1", "el2"]
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.keystore.path: certs/elastic-certificates.p12
xpack.security.transport.ssl.truststore.path: certs/elastic-certificates.p12
Check health (missing one node)
> { > "cluster_name" : "elcluster", > "status" : "yellow", > "timed_out" : false, > "number_of_nodes" : 1, > "number_of_data_nodes" : 1, > "active_primary_shards" : 3, > "active_shards" : 3, > "relocating_shards" : 0, > "initializing_shards" : 0, > "unassigned_shards" : 1, > "delayed_unassigned_shards" : 0, > "number_of_pending_tasks" : 0, > "number_of_in_flight_fetch" : 0, > "task_max_waiting_in_queue_millis" : 0, > "active_shards_percent_as_number" : 75.0 > }
My root problem, I think, is why I can't have the same password on each node for elastic user.
when I try to force a password change for elastic user, I've the following error
{
"error" : {
"root_cause" : [
{
"type" : "status_exception",
"reason" : "Cluster state has not been recovered yet, cannot write to the [null] index"
}
],
"type" : "status_exception",
"reason" : "Cluster state has not been recovered yet, cannot write to the [null] index"
},
"status" : 503
}
Any idea to help me to troubleshoot this situation ?
thank you for your help !!
Regards.