Cannot connect to one pod cassandra cluster in OpenShift Container Platform
Issue
- When trying to connect to
cassandracluster usingoc rsh hawkular-cassandra-NAMEand execute any query likecqlsh --ssl -e "SELECT table_name FROM system_schema.tables WHERE keyspace_name = 'hawkular_metrics'"we see the below error, even thoughcassandrapod is up and ready. Also, there is only one pod in thecassandracluster.
:
Connection error: ('Unable to connect to any servers', {'10.0.0.1': error(111, "Tried connecting to [('10.0.0.1', 9042)]. Last error: Connection refused")})
Environment
- Red Hat OpenShift Container Platform 3.9 and 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.