我已经尝试过这个官方的bigchainDB教程,和流浪汉一起运行。https://docs.bigchaindb.com/projects/server/en/v1.3.0/appendices/run-with-vagrant.html
每次我单击命令vagrant up时,都会出现以下错误:
==> config-node: Configuring cache buckets...
==> config-node: Running provisioner: hosts...
==> bdb-node-01: Updating hosts on: bdb-node-01
==> config-node: Configuring cache buckets...
==> config-node: Running provisioner: shell...
config-node: Running: inline script
config-node: Operation Sytem: ubuntu
config-node: Version: 16.04
config-node: Dependencies already installed:[ ansible ]
==> config-node: Configuring cache buckets...
==> config-node: Running provisioner: shell...
config-node: Running: inline script
config-node:
config-node: PLAY [all] *********************************************************************
config-node:
config-node: TASK [Gathering Facts] *********************************************************
config-node: fatal: [bdb-node-01]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey).\r\n", "unreachable": true}
config-node: to retry, use: --limit @/bigchaindb/configuration/bdb-deploy.retry
config-node:
config-node: PLAY RECAP *********************************************************************
config-node: bdb-node-01 : ok=0 changed=0 unreachable=1 failed=0
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.有人有同样的问题吗?
发布于 2018-01-24 17:16:39
似乎ansible无法登录到BDB-not-01。您能否验证您从其中运行迷航器up的目录是否有:
/path/to/vagrant/directory/.vagrant/machines/bdb-node-01/virtualbox/private_key
你能告诉我以下的内容吗?
/path/to/repo/bigchaindb/pkg/configuration/hosts
我想如果我有更多的信息,我将能够帮助你更多。
您也可以在我们的github上提交一张票证,我们也可以处理它。
https://stackoverflow.com/questions/48413037
复制相似问题