In this file (/var/log/graylog/server/current), I have this error message:
2018-09-12_15:36:15.01776 ERROR [Cluster] Couldn't read cluster health for indices [graylog_*]
2018-09-12_15:36:15.01821
2018-09-12_15:36:15.01898 {"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null} (n/a)
2018-09-12_15:36:15.01973 INFO [IndexerClusterCheckerThread] Indexer not fully initialized yet. Skipping periodic cluster check.
2018-09-12_15:37:15.07353 ERROR [Messages] Caught exception during bulk indexing: java.net.SocketTimeoutException: Read timed out, retrying (attempt #1).
2018-09-12_15:37:45.04232 INFO [MongoIndexSet] Did not find a deflector alias. Setting one up now.
2018-09-12_15:38:15.13366 ERROR [Messages] Caught exception during bulk indexing: java.net.SocketTimeoutException: Read timed out, retrying (attempt #1).
2018-09-12_15:38:45.08471 ERROR [Messages] Caught exception during bulk indexing: java.net.SocketTimeoutException: Read timed out, retrying (attempt #1).
2018-09-12_15:39:15.09761 ERROR [ConfigurationManagementPeriodical] Error while running migration <V20161130141500_DefaultStreamRecalcIndexRanges{2016-11-30T14:15:00Z}>
2018-09-12_15:39:15.09813 org.graylog2.indexer.ElasticsearchException: Couldn't collect indices for alias graylog_deflector
2018-09-12_15:39:15.09865
2018-09-12_15:39:15.09907 {"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null}
2018-09-12_15:39:15.09972 at org.graylog2.indexer.cluster.jest.JestUtils.specificException(JestUtils.java:95) ~[graylog.jar:?]
2018-09-12_15:39:15.10043 at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:57) ~[graylog.jar:?]
2018-09-12_15:39:15.10100 at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:62) ~[graylog.jar:?]
2018-09-12_15:39:15.10135 at org.graylog2.indexer.indices.Indices.aliasTarget(Indices.java:326) ~[graylog.jar:?]
2018-09-12_15:39:15.10196 at org.graylog2.indexer.MongoIndexSet.getActiveWriteIndex(MongoIndexSet.java:204) ~[graylog.jar:?]
2018-09-12_15:39:15.10230 at org.graylog2.migrations.V20161130141500_DefaultStreamRecalcIndexRanges.upgrade(V20161130141500_DefaultStreamRecalcIndexRanges.java:108) ~[graylog.jar:?]
2018-09-12_15:39:15.10284 at org.graylog2.periodical.ConfigurationManagementPeriodical.doRun(ConfigurationManagementPeriodical.java:43) [graylog.jar:?]
2018-09-12_15:39:15.10322 at org.graylog2.plugin.periodical.Periodical.run(Periodical.java:77) [graylog.jar:?]
2018-09-12_15:39:15.10373 at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
2018-09-12_15:39:15.15100 ERROR [Cluster] Couldn't read cluster health for indices [graylog_*]
Sorry for Backticks this is my first message on this community
Thank’s for your reply, I will try to solve my problem with your links, I’ll let you know
I answer a little late, I work on several projects in parallel
I’m slowly moving on to the problem, i tried to apply the procedure in the links, now i get a new error message
My first VM is configured for run Graylog, web and MongoDB (no Elasticsearch). After reconfigure, I don’t have error message in elasticsearch log
My 2nd VM is configured for run only Elasticsearch. After reconfigure, I don’t have error message in elasticsearch log.
My last VM is configured for run only Elasticsearch. After reconfigure, I have error message
2018-09-13_11:57:30.68729 [INFO ][o.e.d.z.ZenDiscovery ] [6FrLEVT] failed to send join request to master [{6FrLEVT}{6FrLEVT5RN2l9XMrZ84BBw}{XGGTzKmBTo2KVjjLWiHTlg}{192.168.12.32}{192.168.12.32:9300}], reason [RemoteTransportException[[6FrLEVT][192.168.12.32:9300][internal:discovery/zen/join]]; nested: IllegalArgumentException[can’t add node {6FrLEVT}{6FrLEVT5RN2l9XMrZ84BBw}{H-3alPnmSbSBHjQSKlBBtQ}{192.168.12.33}{192.168.12.33:9300}, found existing node {6FrLEVT}{6FrLEVT5RN2l9XMrZ84BBw}{XGGTzKmBTo2KVjjLWiHTlg}{192.168.12.32}{192.168.12.32:9300} with the same id but is a different node instance]; ]
The error message is clear, I am looking for the solution on google at the same time I answer this topic
Hoping to quickly fix this problem, thank you
After run graylog-ctl cleanse followed by graylog-ctl reconfigure and retry configure multi-vm, it’s work!
I think you were right, it is the fact of having cloned my VM without reset graylog that my problems have appeared! I can continue my tests, thanks for the help again