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 /etc/elasticsearch/elasticsearch.keystore
Also we are not able to create any role using created my_admin user for ldap authentication.
There's something wrong with your cluster.
Either you have missing data (shards) or you have nodes that aren't responding to requests, or something like that.
This isn't specifically a security problem, it's occurring whenever X-Pack tries to read or write to the security index, but it would probably also happen for other indices.
When you start up Elasticsearch, it should be telling you that it is on RED state because some shards aren't available.
What's the history with this cluster? Can you tell us how you got into this state?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.