When Cassandra authentication enabled, opscenter can not connect to the cluster

cassandra, datastax, opscenter

Solution

When connecting OpsCenter to a Cassandra cluster with authentication enabled, you can provide the username and password in the "Thrift username" and "Thrift password" options in the dialog:

If you have previously connected OpsCenter to the Cassandra cluster and then later enabled authentication (which sounds like your case), you will need to add the username and password to the cluster configuration file for OpsCenter. You may need to restart OpsCenter after this change in order to pick it up. Follow the instructions in Cassandra connection properties to add to cluster_name.conf file a section like:

[cassandra]
username = your-username-here
password = your-password-here
seed_hosts = node1,node2,node3
api_port = 9160

Problem

Using Datastax Community Edition. When Password authentication is enabled, opscenter can not connect with cassandra. I can access cassandra through cqlsh shortcut where I provided username and password modifying shortcut's target field. Opscenter log refers that user not logged in. Is there any way to overcome it or it is stil a bug ?

Original source