Cloudant 本地仪表板上的数据库创建操作失败

Database Create Operation Failed on Cloudant Local Dashboard

Cloudant 数据层本地版版本:- 1.0.0.3 Linux 分发和版本:- CentOs 6.6 我最近安装了 Cloudant 数据层本地版本 1.0.0.3 。正确配置它(1 个负载均衡器和 3 个数据节点)并在浏览器上启动仪表板。

然后我将管理员帐户的凭据输入到仪表板中。单击“添加新数据库”,它要求输入数据库名称,当我输入名称并按下创建按钮时,它显示错误:数据库不存在。

此外,每次我刷新页面时,它都会在 UI 中显示不同的数据库。我尝试使用 curl 命令从终端获取所有数据库。我的集群中有 3 个数据节点,我想得到相同的数据库,无论我向我的任何数据节点发出 curl 命令,因为它们相互同步,但我得到不同的输出。

命令片段

[root@******1983 repo]# curl -X GET -u admin:***** http://******2031:5984
["_users","first_testing_database","metrics_app","t1"]

[root@******1983 repo]# curl -X GET -u admin:***** http://*****2032:5984
["first_data","metrics","metrics_app","new","stats"]

[root@8****1983 repo]# curl -X GET -u admin:***** http://*****2033:5984
["metrics_app"]

尽管如此,我设法在我创建的一个数据库中创建了一个文档,但是当我尝试从 curl 命令获取相同的文档时,它说(运行 随后 3 次):-

  1. 数据库不存在
  2. 失踪
  3. 数据

数据

获取数据后,如果我再次运行命令,那么它会以某种模式重复上述序列。

命令片段

[root@*****1983 log]#curl -X GET http://*******/try/c3cd00e3211b9a4de4091da7c9000d5c
{"error":"not_found","reason":"missing"}
[root@*****1983 log]# curl -X GET http://*******/try/c3cd00e3211b9a4de4091da7c9000d5c
{"error":"not_found","reason":"Database does not exist."}
[root@*****1983 log]# curl -X GET http://*******/try/c3cd00e3211b9a4de4091da7c9000d5c
{"_id":"c3cd00e3211b9a4de4091da7c9000d5c","_rev":"1-9bc8307931d018808037c1c58fc7d1ad","designation":"software eng.","stream":"analytics"}
[root@****1983 log]# curl -X GET http://********/try/c3cd00e3211b9a4de4091da7c9000d5c
{"error":"not_found","reason":"missing"}
[root@****1983 log]# curl -X GET http://********/try/c3cd00e3211b9a4de4091da7c9000d5c
{"error":"not_found","reason":"Database does not exist."}
[root@*****1983 log]# curl -X GET http://*******/try/c3cd00e3211b9a4de4091da7c9000d5c
{"_id":"c3cd00e3211b9a4de4091da7c9000d5c","_rev":"1-9bc8307931d018808037c1c58fc7d1ad","designation":"software eng.","stream":"analytics"}

听起来你们的节点彼此不认识。您可能在安装过​​程中错过了这一步: "Once the installation and configuration is completed on all nodes, re-run configure.sh on the first database node. This step joins all the nodes to create a cluster of the database nodes. It also creates the metrics database that is utilized by the Metrics application. "