Hi ,
Am facing issue while executing the below command not sure what am missing in this. Can some please help me out on this.
./sgadmin.sh -cd ../sgconfig -icl -nhnv -ts /etc/elasticsearch/truststore.jks -tspass changeit -ks /etc/elasticsearch/keystore.jks -kspass changeit -h xxxx
Cannot retrieve cluster state due to: None of the configured nodes are available: [{#transport#-1}{fjVX_-odRnGmtNTHs3K0yw}{xxxx}{xxxx:9300}]. This is not an error, will keep on trying ...
Root cause: NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{fjVX_-odRnGmtNTHs3K0yw}{xxxx}{xxxx:9300}]] (org.elasticsearch.client.transport.NoNodeAvailableException/org.elasticsearch.client.transport.NoNodeAvailableException)
- Try running sgadmin.sh with -icl (but no -cl) and -nhnv (If thats works you need to check your clustername as well as hostnames in your SSL certificates)
- Make also sure that your keystore or cert is a client certificate (not a node certificate) and configured properly in elasticsearch.yml
- If this is not working, try running sgadmin.sh with --diagnose and see diagnose trace log file)
- Add --accept-red-cluster to allow sgadmin to operate on a red cluster.