【发布时间】:2017-09-21 13:03:20
【问题描述】:
我在 OpenShift 上部署了一个日志项目,并在 GlusterFS 上创建了一个 PV,它由 3 个在集群中运行的服务器组成。
我在 GlusterFS 上创建了一个卷,并在其上创建了 enabled sharding 功能。但是,Elasticsearch 没有按预期运行,我收到此错误:
FAIL: Configuration for 'config' failed because of UnavailableShardsException[[.searchguard.logging-es-6akrt1z2-11-66509][0] primary shard is not active Timeout: [1m], request: [index {[.searchguard.logging-es-6akrt1z2-11-66509][config][0], source[{"searchguard":{"dynamic":{"http":{"xff":{"enabled":true,"remoteIpHeader":"x-forwarded-for","trustedProxies":".*","internalProxies":".*"}},"authc":{"authentication_domain_proxy":{"enabled":true,"order":0,"http_authenticator":{"challenge":false,"type":"proxy","config":{"user_header":"x-proxy-remote-user"}},"authentication_backend":{"type":"noop"}},"authentication_domain_basic_internal":{"enabled":true,"order":1,"http_authenticator":{"type":"clientcert","challenge":false},"authentication_backend":{"type":"noop"}}}}}}]}]]
我该如何解决这个问题?
【问题讨论】:
标签: elasticsearch openshift redhat glusterfs search-guard