[search-guard group] sgadmin.sh related problem

try

tools/sgadmin.sh -ts /etc/elasticsearch/truststore.jks -tspass changeit -ks sgconfig/node-0-keystore.jks -kspass changeit -cd sgconfig/ -nhnv -h 192.168.40.174 -icl --diagnose

···

Am 27.01.2017 um 12:56 schrieb Oucéma Bellagha <bellagha.oucema@gmail.com>:

Issue here:

tools/sgadmin.sh -ts /etc/elasticsearch/truststore.jks -tspass changeit -ks sgconfig/node-0-keystore.jks -kspass changeit -cd sgconfig/ -icl -nhnv -h 192.168.40.174 -cn admin --diagnose --delete-config-index
Search Guard Admin v5
Will connect to 192.168.40.174:9300 ... done
Diagnostic trace written to: /usr/share/elasticsearch/plugins/search-guard-5/sgadmin_diag_trace_2017-Jan-27_12-15-38.txt
Contacting elasticsearch cluster 'admin' and wait for YELLOW clusterstate ...
Clustername: elasticsearch
Clusterstate: GREEN
Number of nodes: 2
Number of data nodes: 2
No index 'searchguard' exists, so no need to delete it

and:

tools/sgadmin.sh -ts /etc/elasticsearch/truststore.jks -tspass changeit -ks sgconfig/node-0-keystore.jks -kspass changeit -cd sgconfig/ -nhnv -h 192.168.40.174 -cn admin --diagnose
Search Guard Admin v5
Will connect to 192.168.40.174:9300 ... done
Diagnostic trace written to: /usr/share/elasticsearch/plugins/search-guard-5/sgadmin_diag_trace_2017-Jan-27_12-19-06.txt
Contacting elasticsearch cluster 'admin' and wait for YELLOW clusterstate ...
Cannot retrieve cluster state due to: None of the configured nodes are available: [{#transport#-1}{uY348CWHQsu7-EFZpVZ9CA}{192.168.40.174}{192.168.40.174:9300}]. This is not an error, will keep on trying ...

  • Try running sgadmin.sh with -icl and -nhnv (If thats works you need to check your clustername as well as hostnames in your SSL certificates)
  • If this is not working, try running sgadmin.sh with --diagnose and see diagnose trace log file)
what could be the prob ?

--
You received this message because you are subscribed to the Google Groups "Search Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/a1115a75-6b49-48e7-8eb9-643a93f95aa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.