Please find my partial es log
[2018-07-05T10:47:49,676][DEBUG][o.e.a.ActionModule ] Using REST wrapper from plugin com.floragunn.searchguard.SearchGuardPlugin
[2018-07-05T10:47:50,119][INFO ][o.e.d.DiscoveryModule ] [cl-esnode-1] using discovery type [zen]
[2018-07-05T10:47:51,229][INFO ][c.f.s.SearchGuardPlugin ] 0 Search Guard modules loaded so far:
[2018-07-05T10:47:51,230][INFO ][o.e.n.Node ] [cl-esnode-1] initialized
[2018-07-05T10:47:51,230][INFO ][o.e.n.Node ] [cl-esnode-1] starting …
[2018-07-05T10:47:51,388][INFO ][o.e.t.TransportService ] [cl-esnode-1] publish_address {10.240.0.6:9300}, bound_addresses {10.240.0.6:9300}
[2018-07-05T10:47:51,444][INFO ][o.e.b.BootstrapChecks ] [cl-esnode-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-07-05T10:47:51,461][INFO ][c.f.s.c.IndexBaseConfigurationRepository] Check if searchguard index exists …
[2018-07-05T10:47:51,469][DEBUG][o.e.a.a.i.e.i.TransportIndicesExistsAction] [cl-esnode-1] no known master node, scheduling a retry
[2018-07-05T10:47:54,497][WARN ][o.e.d.z.ZenDiscovery ] [cl-esnode-1] not enough master nodes discovered during pinging (found [[Candidate{node={cl-esnode-1}{eo
PblikNReu7vQ4FIXOoig}{lQ4gjWt_QWqZMUWN_duEvQ}{10.240.0.6}{10.240.0.6:9300}{ml.machine_memory=7673548800, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
, clusterStateVersion=-1}]], but needed [2]), pinging again
[2018-07-05T10:47:57,501][WARN ][o.e.d.z.ZenDiscovery ] [cl-esnode-1] not enough master nodes discovered during pinging (found [[Candidate{node={cl-esnode-1}{eo
PblikNReu7vQ4FIXOoig}{lQ4gjWt_QWqZMUWN_duEvQ}{10.240.0.6}{10.240.0.6:9300}{ml.machine_memory=7673548800, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
, clusterStateVersion=-1}]], but needed [2]), pinging again
[2018-07-05T10:48:00,503][WARN ][o.e.d.z.ZenDiscovery ] [cl-esnode-1] not enough master nodes discovered during pinging (found [[Candidate{node={cl-esnode-1}{eo
PblikNReu7vQ4FIXOoig}{lQ4gjWt_QWqZMUWN_duEvQ}{10.240.0.6}{10.240.0.6:9300}{ml.machine_memory=7673548800, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
, clusterStateVersion=-1}]], but needed [2]), pinging again
[2018-07-05T10:48:03,506][WARN ][o.e.d.z.ZenDiscovery ] [cl-esnode-1] not enough master nodes discovered during pinging (found [[Candidate{node={cl-esnode-1}{eo
PblikNReu7vQ4FIXOoig}{lQ4gjWt_QWqZMUWN_duEvQ}{10.240.0.6}{10.240.0.6:9300}{ml.machine_memory=7673548800, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
, clusterStateVersion=-1}]], but needed [2]), pinging again
[2018-07-05T10:48:05,297][ERROR][c.f.s.s.t.SearchGuardSSLNettyTransport] [cl-esnode-1] SSL Problem Received fatal alert: certificate_unknown
javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
···
On Thursday, July 5, 2018 at 3:06:57 PM UTC+5:30, Jochen Kressin wrote:
Please attach your Elasticsearch logfiles:
When asking questions, please provide the following information:
- Search Guard and Elasticsearch version
- Installed and used enterprise modules, if any
- JVM version and operating system version
- Search Guard configuration files
- Elasticsearch log messages on debug level
- Other installed Elasticsearch or Kibana plugins, if any
On Thursday, July 5, 2018 at 9:07:37 AM UTC+2, gan...@customerlabs.co wrote:
2 master and data nodes are joining in cluster if i disable the search guard. not connecting if i enable search guard.
Elasticsearch Version: 6.3.0
Search Guard Version: 6.3.0.
CentOS 7
java version “1.8.0_171”
Java™ SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot™ 64-Bit Server VM (build 25.171-b11, mixed mode)
Certificates are generated using Search Guard TLS Tool
Node1 config:
cluster.name: cles
node.name: cl-esnode-1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 10.240.0.6
discovery.zen.ping.unicast.hosts: [“31.239.124.150”, “31.238.130.20”]
discovery.zen.minimum_master_nodes: 2
action.destructive_requires_name: true
xpack.security.enabled: false
searchguard.ssl.transport.pemcert_filepath: node1.pem
searchguard.ssl.transport.pemkey_filepath: node1.key
searchguard.ssl.transport.pemtrustedcas_filepath: root-ca.pem
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.ssl.transport.resolve_hostname: false
searchguard.ssl.http.enabled: false
searchguard.nodes_dn:
searchguard.authcz.admin_dn:
searchguard.enterprise_modules_enabled: false
Node2 config:
cluster.name: cles
node.name: cl-esnode-2
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 10.240.0.9
discovery.zen.ping.unicast.hosts: [“31.239.124.150”, “31.238.130.20”]
discovery.zen.minimum_master_nodes: 2
action.destructive_requires_name: true
xpack.security.enabled: false
searchguard.ssl.transport.pemcert_filepath: node2.pem
searchguard.ssl.transport.pemkey_filepath: node2.key
searchguard.ssl.transport.pemtrustedcas_filepath: root-ca.pem
searchguard.ssl.transport.enforce_hostname_verification: false
searchguard.ssl.transport.resolve_hostname: false
searchguard.ssl.http.enabled: false
searchguard.nodes_dn:
searchguard.authcz.admin_dn:
searchguard.enterprise_modules_enabled: false