# Cluster setup on gralog

**URL:** <https://community.graylog.org/t/cluster-setup-on-gralog/32175>\
**Category:** Development\
**Created:** [April 21, 2024, 11:08pm UTC](https://community.graylog.org/t/cluster-setup-on-gralog/32175 "2024-04-21T23:08:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharzad](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@Sharzad](https://community.graylog.org/u/Sharzad)\
**Post date:** [April 21, 2024, 11:08pm UTC](https://community.graylog.org/t/cluster-setup-on-gralog/32175/1 "2024-04-21T23:08:53Z")

</div>

i have graylog 7.0 and cluster set with 3 nodes the same for opensearch and mongod.  
when i start [http://1p:9000](http://1p:9000) for first time I have  
**While retrieving data for this widget, the following error(s) occurred:**

- OpenSearch exception [type=cluster\_block\_exception, reason=blocked by: [SERVICE\_UNAVAILABLE/1/state not recovered / initialized];].  
check with curl in all server(node) is ok:  
curl -X GET “[http://10.9.71.120:9200](http://10.9.71.120:9200)”  
{  
“name” : “master-node-1”,  
“cluster\_name” : “graylog”,  
“cluster\_uuid” : “dvLowRQHQC-OdbF6RpsEbw”,  
“version” : {  
“distribution” : “opensearch”,  
“number” : “2.5.0”,  
“build\_type” : “deb”,  
“build\_hash” : “b8a8b6c4d7fc7a7e32eb2cb68ecad8057a4636ad”,  
“build\_date” : “2023-01-18T23:48:43.426713304Z”,  
“build\_snapshot” : false,  
“lucene\_version” : “9.4.2”,  
“minimum\_wire\_compatibility\_version” : “7.10.0”,  
“minimum\_index\_compatibility\_version” : “7.0.0”  
},  
“tagline” : “The OpenSearch Project: [https://opensearch.org/](https://opensearch.org/)”

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [April 23, 2024, 4:12am UTC](https://community.graylog.org/t/cluster-setup-on-gralog/32175/2 "2024-04-23T04:12:03Z")

</div>

Hey,

Not sure Graylog have version 7 out, looks like your service is having issues. Check your

` journalctl -xeu opensearch`.

---

<div class="post-metadata">

**Author:** ![Sharzad](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@Sharzad](https://community.graylog.org/u/Sharzad)\
**Post date:** [April 23, 2024, 6:35am UTC](https://community.graylog.org/t/cluster-setup-on-gralog/32175/3 "2024-04-23T06:35:33Z")

</div>

sorry i mean 6. i used opensearch version 2.5.0.  
journalctl -xeu opensearch  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:89)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:542)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:483)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:417)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.core.Logger.log(Logger.java:161)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2028)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1891)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.apache.logging.log4j.spi.AbstractLogger.info(AbstractLogger.java:1325)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.node.Node.(Node.java:383)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.node.Node.(Node.java:356)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.bootstrap.Bootstrap$5.(Bootstrap.java:242)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:242)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:404)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:180)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:171)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.cli.Command.main(Command.java:101)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:137)  
Apr 23 08:25:09 graylog2 systemd-entrypoint[173]: at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:103)  
Apr 23 08:25:20 graylog2 systemd[1]: Started OpenSearch.  
░░ Subject: A start job for unit opensearch.service has finished successfully  
░░ Defined-By: systemd  
░░ Support: [http://www.ubuntu.com/support](http://www.ubuntu.com/support)  
░░  
░░ A start job for unit opensearch.service has finished successfully.

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [April 25, 2024, 2:34am UTC](https://community.graylog.org/t/cluster-setup-on-gralog/32175/4 "2024-04-25T02:34:24Z")

</div>

Hey,

> [@Sharzad](#):
>
> SERVICE\_UNAVAILABLE/1/state not recovered / initialized

The journal logs you posted looks like the bottom half, you may need to scroll up. There should be a statement why it failed.

EDIT:

Also check the health of you indexer.

```auto
curl -X GET “http://10.9.71.120:9200_cluster/health"

```

status should be green

```auto
 "status" : "green",

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [May 9, 2024, 2:34am UTC](https://community.graylog.org/t/cluster-setup-on-gralog/32175/5 "2024-05-09T02:34:33Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
