While retrieving data for this widget, the following error(s) occurred:
- Elasticsearch exception [type=cluster_block_exception, reason=blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];].
1. Describe your incident:
After installing graylog, I faced a problem
→ curl -XGET ‘http://192.168.180.180:9200/_cluster/health?pretty=true’
[root@localhost ~]# curl -XGET 'http://192.168.180.180:9200/_cluster/health?pretty=true'
{
"error" : {
"root_cause" : [
{
"type" : "master_not_discovered_exception",
"reason" : null
}
],
"type" : "master_not_discovered_exception",
"reason" : null
},
"status" : 503
}
2. Describe your environment:
-
OS Information:
centos-release-7-9.2009.1.el7.centos.x86_64
[elasticsearch-7.x]
mongodb-org/4.2/x86_64/
CentOS installation - Installing Graylog -
Service logs, configurations, and environment variables:
tail -f /var/log/elasticsearch/graylog.log
org.elasticsearch.discovery.MasterNotDiscoveredException: null
at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:230) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:335) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:601) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:684) [elasticsearch-7.10.2.jar:7.10.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2022-06-13T16:11:25,662][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}]; discovery will continue using [0.0.0.0:9300] from hosts providers and [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2022-06-13T16:11:28,290][WARN ][r.suppressed ] [node-1] path: /_alias/graylog_deflector, params: {ignore_unavailable=false, expand_wildcards=open,closed, allow_no_indices=true, ignore_throttled=false, name=graylog_deflector}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:230) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:335) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:601) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:684) [elasticsearch-7.10.2.jar:7.10.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2022-06-13T16:11:33,632][WARN ][r.suppressed ] [node-1] path: /_alias/graylog_deflector, params: {ignore_unavailable=false, expand_wildcards=open,closed, allow_no_indices=true, ignore_throttled=false, name=graylog_deflector}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:230) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:335) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:601) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:684) [elasticsearch-7.10.2.jar:7.10.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2022-06-13T16:11:35,666][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}]; discovery will continue using [0.0.0.0:9300] from hosts providers and [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2022-06-13T16:11:45,668][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}]; discovery will continue using [0.0.0.0:9300] from hosts providers and [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2022-06-13T16:11:53,768][WARN ][r.suppressed ] [node-1] path: /graylog_*,gl-events_*,gl-failures_*,gl-system-events_*, params: {ignore_unavailable=false, expand_wildcards=open,closed, allow_no_indices=false, ignore_throttled=false, index=graylog_*,gl-events_*,gl-failures_*,gl-system-events_*}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:230) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:335) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:601) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:684) [elasticsearch-7.10.2.jar:7.10.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2022-06-13T16:11:55,676][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}]; discovery will continue using [0.0.0.0:9300] from hosts providers and [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}] from last-known cluster state; node term 0, last-accepted version 0 in term 0
[2022-06-13T16:11:58,302][WARN ][r.suppressed ] [node-1] path: /_alias/graylog_deflector, params: {ignore_unavailable=false, expand_wildcards=open,closed, allow_no_indices=true, ignore_throttled=false, name=graylog_deflector}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:230) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:335) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:601) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:684) [elasticsearch-7.10.2.jar:7.10.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2022-06-13T16:11:59,395][WARN ][r.suppressed ] [node-1] path: /_alias/gl-failures_deflector, params: {ignore_unavailable=false, expand_wildcards=open,closed, allow_no_indices=true, ignore_throttled=false, name=gl-failures_deflector}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:230) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:335) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:601) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:684) [elasticsearch-7.10.2.jar:7.10.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2022-06-13T16:12:03,640][WARN ][r.suppressed ] [node-1] path: /_alias/gl-events_deflector, params: {ignore_unavailable=false, expand_wildcards=open,closed, allow_no_indices=true, ignore_throttled=false, name=gl-events_deflector}
org.elasticsearch.discovery.MasterNotDiscoveredException: null
at org.elasticsearch.action.support.master.TransportMasterNodeAction$AsyncSingleAction$2.onTimeout(TransportMasterNodeAction.java:230) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ContextPreservingListener.onTimeout(ClusterStateObserver.java:335) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:252) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.cluster.service.ClusterApplierService$NotifyTimeout.run(ClusterApplierService.java:601) [elasticsearch-7.10.2.jar:7.10.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:684) [elasticsearch-7.10.2.jar:7.10.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
at java.lang.Thread.run(Thread.java:832) [?:?]
[2022-06-13T16:12:05,678][WARN ][o.e.c.c.ClusterFormationFailureHelper] [node-1] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}]; discovery will continue using [0.0.0.0:9300] from hosts providers and [{node-1}{lr4yDKFFQV6Mxi6Xi7664A}{yCU3QWc3R5a2VgAF7iUSew}{192.168.180.180}{192.168.180.180:9300}{dimr}] from last-known cluster state; node term 0, last-accepted version 0 in term 0