Cassandra 无法在opscenter中添加群集获取错误无法连接到群集

Cassandra 无法在opscenter中添加群集获取错误无法连接到群集,cassandra,datastax-enterprise,datastax,opscenter,Cassandra,Datastax Enterprise,Datastax,Opscenter,我正在尝试使用datastax enterprise创建datastax集群。我已经更改了节点的Cassandra.yaml,并在节点上启动了Cassandra和opscenter 我可以通过webbroser连接到opscenter。但是,当我尝试“添加群集”并放入特定的主机IP时,它会显示错误消息,说“创建群集时出错:无法连接到群集” 我可以在opscenter日志中看到下面的文本 **2013-10-29 16:44:21-0700 [] INFO: Mem Info: 96586MB

我正在尝试使用datastax enterprise创建datastax集群。我已经更改了节点的Cassandra.yaml,并在节点上启动了Cassandra和opscenter

我可以通过webbroser连接到opscenter。但是,当我尝试“添加群集”并放入特定的主机IP时,它会显示错误消息,说“创建群集时出错:无法连接到群集”

我可以在opscenter日志中看到下面的文本

**2013-10-29 16:44:21-0700 []  INFO: Mem Info: 96586MB
2013-10-29 16:44:24-0700 [] DEBUG: EC2 Instance type: None
2013-10-29 16:44:27-0700 [] DEBUG: EC2 Instance ami: None
2013-10-29 16:44:27-0700 []  INFO: Package Manager: Unknown
2013-10-29 16:45:21-0700 [] DEBUG: Average opscenterd CPU usage: 0.46%, memory usage: 38 MB
2013-10-29 16:45:37-0700 [] DEBUG: Trying to connect to node 10.182.160.4 over thrift
2013-10-29 16:45:37-0700 [] DEBUG: Not returning SASL credentials for 10.182.160.4
2013-10-29 16:45:37-0700 []  INFO: Starting factory <opscenterd.ThriftService.NoReconnectCassandraClientFactory instance at 0x2b775f0>
2013-10-29 16:45:37-0700 []  INFO: <twisted.internet.tcp.Connector instance at 0x2b7e830> will retry in 2 seconds
2013-10-29 16:45:37-0700 [] DEBUG: Problem while pinging node: Traceback (most recent call last):
          File "/usr/lib/python2.6/site-packages/opscenterd/ThriftService.py", line 157, in checkThriftConnection
        UserError: User aborted connection: Shutdown requested.
2013-10-29 16:45:37-0700 []  WARN: ProcessingError while calling CreateClusterConfController: Unable to connect to cluster
2013-10-29 16:45:37-0700 []  INFO: Stopping factory <opscenterd.ThriftService.NoReconnectCassandraClientFactory instance at 0x2b775f0>**
**2013-10-29 16:44:21-0700[]信息:内存信息:96586MB
2013-10-29 16:44:24-0700[]调试:EC2实例类型:无
2013-10-29 16:44:27-0700[]调试:EC2实例ami:无
2013-10-29 16:44:27-0700[]信息:包经理:未知
2013-10-29 16:45:21-0700[]调试:opscenterd CPU平均使用率:0.46%,内存使用率:38 MB
2013-10-29 16:45:37-0700[]调试:试图过度节俭地连接到节点10.182.160.4
2013-10-29 16:45:37-0700[]调试:不返回10.182.160.4的SASL凭据
2013-10-29 16:45:37-0700[]信息:启动工厂
2013-10-29 16:45:37-0700[]信息:将在2秒钟后重试
2013-10-29 16:45:37-0700[]调试:ping节点时出现问题:回溯(最近一次调用):
checkThriftConnection第157行的文件“/usr/lib/python2.6/site packages/opscenterd/ThriftService.py”
UserError:用户中止连接:请求关闭。
2013-10-29 16:45:37-0700[]警告:调用CreateClusterConfController时处理错误:无法连接到群集
2013-10-29 16:45:37-0700[]信息:停止工厂**
谁能帮我修一下这个吗


Jenish

不幸的是,您需要提供更多信息。您是否在cassandra.yaml中设置了“rpc_地址”?这与您在OpsCenter添加群集表单中指定的ip相同吗?你能用cqlsh或Cassandra cli连接到Cassandra实例吗?你是如何解决这个问题的?我也很好奇,因为我有类似的问题。