In RHEL9, I could not manage to start the cluster. It is always stuck with the message below:
Contacting opensearch cluster 'opensearch' and wait for YELLOW clusterstate ...
I already tried the suggestions here, but failed. I know RHEL9 is not in the supported OS list, but I was not expecting such a surprise. I assumed a newer distro version would not break the setup at all. But it has been an interesting experience.
I just installed Opensearch 2.3.0 today via yum, and it started a-okay for me.
Cluster started YELLOW at first, but that’s to be expected when you’re bootstrapping a node/cluster - it needs to create the system indexes.
[2022-09-30T11:32:25,160][INFO ][o.o.c.r.a.AllocationService] [] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
$ sudo cat /etc/redhat-release
Red Hat Enterprise Linux release 9.0 (Plow)