thelastpickle / cassandra-reaper

Automated Repair Awesomeness for Apache Cassandra
http://cassandra-reaper.io/
Apache License 2.0
490 stars 218 forks source link

Reaper error #1440

Open anupamReaper opened 1 year ago

anupamReaper commented 1 year ago

Project board link

ERROR [2023-11-22 09:31:30,267] [main] i.c.ReaperApplication - Storage is not ready yet, trying again to connect shortly... com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /10.128.21.54:9042 (com.datastax.driver.core.exceptions.TransportException: [/10.128.21.54:9042] Channel has been closed))

please let me know how to fix this for reaper application.

┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: REAP-21

adejanovski commented 1 year ago

You connection settings to the cluster that will store Reaper's data seem to be incorrect. Please check that you're pointing to the right contact points and in the right DC.

anupamReaper commented 1 year ago

You connection settings to the cluster that will store Reaper's data seem to be incorrect. Please check that you're pointing to the right contact points and in the right DC.

Hi, we are using the Red hat OpenShift container for Cassandra db and used the host IP of one of the pods of Cassandra cluster as contact points in the .yml file of reaper in static way but still we are getting the above error in log file when we start running the container. After giving the existing host ip in the .yml file, it's showing No host available exception. We have also tried by using the pod IP in the .yml file in static way but got the same error as above. Please let me know is there any proper way to mention the contact points so that it will be resolved? I have followed the reaper documentation to run the reaper as cassandra backend.

Please let me know if there is any additional information is required to you to understand this and help.