I enabled security on my ELK stack. I tested the configuration locally several times before going on the dev environment. On the second master node of my cluster, I get the following error:
[2020-08-26T16:54:40,203][INFO ][o.e.x.s.a.AuthenticationService] [master-node-2] Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]
I followed the steps:
- Ran the elasticsearch-keystore command on the first master node:
printf "%s" "mypassword" | /usr/share/elasticsearch/bin/elasticsearch-keystore add -x "bootstrap.password"
- Ran the curl command to set the built-in user passswords.
Can you help explain why the 2nd master node in my cluster won't recognize the elastic bootstrap password set on master node1?