Cannot connect to one pod cassandra cluster in OpenShift Container Platform

Solution In Progress - Updated -

Issue

  • When trying to connect to cassandra cluster using oc rsh hawkular-cassandra-NAME and execute any query like cqlsh --ssl -e "SELECT table_name FROM system_schema.tables WHERE keyspace_name = 'hawkular_metrics'" we see the below error, even though cassandra pod is up and ready. Also, there is only one pod in the cassandra cluster.
    :
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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content