DataStax Help Center

Datastax agent not connecting to OpsCenter using tarball install

Summary

Opscenter UI showing the agents as not connected even though all processes seem to be running ok and the TCP connection from agent to opscenter appears to be established.

Symptoms

As well as everything seeming to be running normally. The following error is also seen in the agent.log

 

 ERROR [StompConnection receiver] 2015-08-06 10:32:08,296 failed calling listener
 java.lang.IllegalArgumentException: No matching field found: getParentFile for class clojure.lang.Keyword
        at clojure.lang.Reflector.getInstanceField(Reflector.java:271)
        at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:300)
        at opsagent.util.cassandra_util$find_base_dse_dir.invoke(cassandra_util.clj:53)
        at opsagent.util.cassandra_util$get_base_dse_dir.invoke(cassandra_util.clj:76)
        at opsagent.util.cassandra_util$tar_conf_location.invoke(cassandra_util.clj:92)
        at opsagent.util.cassandra_util$cassandra_conf_location.invoke(cassandra_util.clj:106)
        at opsagent.util.cassandra_util$get_cassandra_conf.invoke(cassandra_util.clj:126)
        at opsagent.opsagent$determine_addresses.invoke(opsagent.clj:52)
        at opsagent.opsagent$post_interface_startup.doInvoke(opsagent.clj:87)
        at clojure.lang.RestFn.invoke(RestFn.java:421)
        at opsagent.conf$handle_new_conf.invoke(conf.clj:203)
        at opsagent.messaging$message_callback$fn__11064.invoke(messaging.clj:54)
        at opsagent.messaging.proxy$java.lang.Object$StompConnection$Listener$7f16bc72.onMessage(Unknown Source)
        at org.jgroups.client.StompConnection.notifyListeners(StompConnection.java:324)
        at org.jgroups.client.StompConnection.run(StompConnection.java:274)
        at java.lang.Thread.run(Thread.java:745)

 

Cause

This is a known issue outlined in the following internal jira

OPSC-2445 - Agent fails to startup when symlink-ing c* config to non-package path

Workaround

Apply the following config changes:

In the agent address.yaml

Set cassandra_install_location and cassandra_conf

See: http://docs.datastax.com/en/opscenter/5.1/opsc/configure/agentAddressConfiguration.html

In the opscenter cluster.conf

Set conf_location and install_location under the [cassandra] section

See: http://docs.datastax.com/en/opscenter/5.1/opsc/configure/opscConnectionConfig_r.html

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk