[英]Installing and Configuring Shield for Elasticsearch
我已经在客户端节点上成功安装了许可证插件和屏蔽插件。 日志显示它正确启动,并且我能够使用提供的凭据进行身份验证。 但是,当我连接时,我收到503错误。 我回顾了一下文档,看是否遗漏了一些东西,但是启用屏蔽后,我对配置数据节点一无所知。 我想念什么?
{
"status" : 503,
"name" : "Vertigo",
"cluster_name" : "cluster01",
"version" : {
"number" : "1.7.2",
"build_hash" : "e43676b1385b8125d647f593f7202acbd816e8ec",
"build_timestamp" : "2015-09-14T09:49:53Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}
从客户端日志
2015-10-28 03:14:52,235][INFO ][io.fabric8.elasticsearch.discovery.k8s.K8sDiscovery] [Vertigo] failed to send join request to master [[Abominatrix][T6zFRQO7RG-thZmOWVk2Xw][es-master-e6mj9][inet[/10.244.85.2:9300]]{data=false, master=true}], reason [RemoteTransportException[[Abominatrix][inet[/10.244.85.2:9300]][internal:discovery/zen/join]]; nested: RemoteTransportException[Failed to deserialize exception response from stream]; nested: TransportSerializationException[Failed to deserialize exception response from stream]; nested: InvalidClassException[failed to read class descriptor]; nested: ClassNotFoundException[org.elasticsearch.shield.authc.AuthenticationException]; ]
安德烈,
我想到了。 由于我运行的容器将主节点,数据节点和客户端节点分开,因此我仅在客户端节点上安装了插件。 将插件安装在主节点和数据节点上后,将映像上传到docker hub并重建集群,所有这些都开始工作。
谢谢-winn
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.