Comunidad como estan , tengo una consulta , me ha surgido este error al generar los pasword de usuarios de elastick search , esto para comenzar a implementar un entorno cluster de varios nodos wazuh , les comparto el error :
root@Master:/home/Bruno# /usr/share/elasticsearch/bin/elasticsearch-setup-passwords autoFailed to determine the health of the cluster running at
https://10.0.0.4:9200Unexpected response code [503] from calling GET
https://10.0.0.4:9200/_cluster/health?prettyCause: master_not_discovered_exception
It is recommended that you resolve the issues with your cluster before running elasticsearch-setup-passwords.
It is very likely that the password changes will fail when run against an unhealthy cluster.
Do you want to continue with the password setup process [y/N]y
Initiating the setup of passwords for reserved users elastic,apm_system,kibana,kibana_system,logstash_system,beats_system,remote_monitoring_user.
The passwords will be randomly generated and printed to the console.
Please confirm that you would like to continue [y/N]y
Unexpected response code [503] from calling PUT
https://10.0.0.4:9200/_security/user/apm_system/_password?prettyCause: Cluster state has not been recovered yet, cannot write to the [null] index
Possible next steps:
* Try running this tool again.
* Try running with the --verbose parameter for additional messages.
* Check the elasticsearch logs for additional error details.
* Use the change password API manually.
ERROR: Failed to set password for user [apm_system].
Seria muy grato de su enorme ayuda.