Searchguard issue with sgadmin script log

Hi ,

Am facing issue while executing the below command not sure what am missing in this. Can some please help me out on this.

./ -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 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 with --diagnose and see diagnose trace log file)
  • Add --accept-red-cluster to allow sgadmin to operate on a red cluster.

As you are making use of the SG toolset, would this be better posed here: GitHub - floragunncom/search-guard: Search Guard Plugin - Security for Elasticsearch

From and Elasticsearch perspective:

This speaks for itself.

Thanks for the info dude. Here am using the ES and searchGuard version 5.5.3 and
I will try for latest version above 6.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.