Thank you for your reply. We tried restarting which did not help. Based on your suggestions here: Accidentally deleted .security index for x-pack
We followed the below steps.
We tried to reset the passwords for the built in users so that the .security-7
index will be recreated so that the authentication issue can be fixed :
# docker exec -u elasticsearch -it elasticsearch bin/elasticsearch-setup-passwords interactive
Failed to authenticate user 'elastic' against https://10.10.206.110:9200/_security/_authenticate?pretty
Possible causes include:
* The password for the 'elastic' user has already been changed on this cluster
* Your elasticsearch node is running against a different keystore
This tool used the keystore at /usr/share/elasticsearch/config/elasticsearch.keystore
ERROR: Failed to verify bootstrap password
Tried adding the bootstrap user on both nodes :
docker exec -u elasticsearch -it elasticsearch bin/elasticsearch-keystore add bootstrap.password
and restarted elastcisearch 7.8.0 on both the nodes in the cluster :
docker restart elasticsearch
again getting the same error when resetting the built in user passwords
# docker exec -u elasticsearch -it elasticsearch bin/elasticsearch-setup-passwords interactive
Failed to authenticate user 'elastic' against https://10.180.206.110:9200/_security/_authenticate?pretty
Possible causes include:
* The password for the 'elastic' user has already been changed on this cluster
* Your elasticsearch node is running against a different keystore
This tool used the keystore at /usr/share/elasticsearch/config/elasticsearch.keystore
ERROR: Failed to verify bootstrap password
Could you please let us know for a possible solution ?