Failed to set password for user [apm_system] with elastic password

Hi, I'm trying to setup an elasticsearch cluster.

3 nodes : 1 master, 1 master / data_hot, 1 data_warm

Elastic Version : 7.10
System : RHEL 8.3

Step by step :

  1. Installing

  2. Configuring nodes and test if everything is okay without TLS : OK
    { "cluster_name" : "my-cluster", "status" : "green", "timed_out" : false, "number_of_nodes" : 3, "number_of_data_nodes" : 2, "active_primary_shards" : 0, "active_shards" : 0, "relocating_shards" : 0, "initializing_shards" : 0, "unassigned_shards" : 0, "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" : 100.0 }

  3. Configuring TLS between nodes :
    bin/elasticsearch-certutil cert --pem

Elasticsearch restarting well.

  1. Running bin/elasticsearch-setup-passwords auto

Getting error : Failed to set password for user [apm_system] with elastic password

-> Can't do a cluster health because I can't authenticate with elastic user. Tried changeme and the password setted in the setup password scripts

Do you have any idea ?

thank you !

You need a data node in your cluster to store .security index

1 Like

Just tried and that's the solution. Thank you

You are better off having all 3 as master eligible, less risk of not maintaining a quorum.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.