当我尝试将opscenter-agent连接到opscenter时,我遇到了问题。在UI中,当我们放置任何节点ip时,它会显示Error creating cluster: Timeout while adding cluster. Please check the log for details on the problem.
在opscenter日志中我得到以下错误
2016-10-18 09:35:12+0000 [MW_Dev_Cluster] WARN: Unable to collect datacenter, rack information: Failed query to http://10.164.120.116:61621/cluster/topology?node_ip=10.184.27.237 : [<twisted.python.failure.Failure <class 'twisted.internet.error.ConnectionDone'>>]
2016-10-18 09:35:12+0000 [MW_Dev_Cluster] WARN: HTTP request http://10.185.183.5:61621/cluster/topology?node_ip=10.112.73.35 failed: [<twisted.python.failure.Failure <class 'twisted.internet.error.ConnectionDone'>>]
在opscenter agent conf中。仅在条目下方的文件address.yaml
stomp_interface: "10.166.71.92"