由于企业功能,将集群添加到 Opscenter 间歇性失败:错误

由于企业功能,将集群添加到 Opscenter 间歇性失败:错误

我正在使用 OpsCenter 5.1.1 安装,同时尝试通过 API 添加包含 5 个节点的现有 DSE 4.6.5 集群。传递的选项设置了 storage_cassandra 变量,用于将数据存储在单独的集群上。

偶尔,这会失败并返回超时,日志中会出现以下内容:

2015-06-04 21:00:10+0000 [dse_test]  INFO: Enterprise functionality: False
2015-06-04 21:00:10+0000 [dse_test]  INFO: OpsCenter shutting down.
2015-06-04 21:00:10+0000 [dse_test]  INFO: Stopping repair service
2015-06-04 21:00:10+0000 []  INFO: Unhandled error in Deferred:
2015-06-04 21:00:10+0000 [] Unhandled Error
        Traceback (most recent call last):
          File "/opt/iot-packages/datastax_opscenter/5.1.1/opscenter-5.1.1/lib/py-redhat/2.6/shared/amd64/twisted/internet/defer.py", line 361, in callback
            self._startRunCallbacks(result)
          File "/opt/iot-packages/datastax_opscenter/5.1.1/opscenter-5.1.1/lib/py-redhat/2.6/shared/amd64/twisted/internet/defer.py", line 455, in _startRunCallbacks
            self._runCallbacks()
          File "/opt/iot-packages/datastax_opscenter/5.1.1/opscenter-5.1.1/lib/py-redhat/2.6/shared/amd64/twisted/internet/defer.py", line 542, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/opt/iot-packages/datastax_opscenter/5.1.1/opscenter-5.1.1/lib/py-redhat/2.6/shared/amd64/twisted/internet/defer.py", line 1076, in gotResult
            _inlineCallbacks(r, g, deferred)
        --- <exception caught here> ---
          File "/opt/iot-packages/datastax_opscenter/5.1.1/opscenter-5.1.1/lib/py-redhat/2.6/shared/amd64/twisted/internet/defer.py", line 1020, in _inlineCallbacks
            result = g.send(result)
          File "build/lib/python2.6/site-packages/opscenterd/ClusterServices.py", line 475, in waitForStartup

        exceptions.Exception: Storing data in a separate cluster is only supported when managing DSE clusters.

但是,再次尝试使用相同的命令将会成功,但 opscenter 日志中会出现以下差异:

企业功能:真

什么决定了所设置的企业功能以及如何确保其一致性?

相关内容