Search code examples
cassandradatastaxopscenterdatabasenosql

DataStax OpsCenter - can't connect with agents


I've installed DataStax OpsCenter (Apache Cassandra) and in OpsCenter, there is an error: "0 of 1 agents connected". When I click "fix", enter credentials and try to install nodes, i get error:

Unable to SSH to some of the hosts

Unable to SSH to 127.0.0.1: global name 'get_output' is not defined

Does anyone have any ideas how to fix it?


Solution

  • I fixed the problem with instruction from stackoverflow

    The reason is OpsCenter could not find correct cassandra config file (cassandra.yaml).

    In my case I installed cassandra to "D:\DataStax" instead of default location "C:\Program Files\DataStax Community". Add conf_location to opscenter\conf\clusters\local.conf solved my problem.

    This is my final setting:

    conf_location = [DataStax Install Dir]\apache-cassandra\conf\cassandra.yaml