【发布时间】:2020-04-05 22:01:47
【问题描述】:
我想用 microStack 设置一个多节点 OpenStack,但总是失败。
我正在关注这个:https://ubuntu.com/openstack/install#multi-node-deployment
对于我做的控制节点:
sudo microstack.init
Do you want to setup clustering? (yes/no) [default=yes] > yes
2020-04-05 23:10:37,251 - microstack_init - INFO - Configuring clustering ...
What is this machines' role? (control/compute) > control
Please enter a cluster password >
Please re-enter password >
Please enter the ip address of the control node [default=192.168.0.31] > 192.168.0.31
.
.
2020-04-05 23:14:14,252 - microstack_init - INFO - Complete. Marked microstack as initialized!
这部分没问题,但是当我想添加一个计算节点时出现问题。 所以我这样做:
multipass exec microstack-vm -- sudo microstack.init
Do you want to setup clustering? (yes/no) [default=no] > yes
2020-04-05 23:13:40,657 - microstack_init - INFO - Configuring clustering ...
What is this machines' role? (control/compute) > compute
Please enter a cluster password >
Please re-enter password >
Please enter the ip address of the control node [default=192.168.0.31] > 192.168.0.31
Please enter the ip address of this node [default=192.168.64.2] > 192.168.64.2
2020-04-05 23:16:37,680 - microstack_init - INFO - I am a compute node.
这是错误堆栈:https://pastebin.com/unYw5LE2
我可以看到程序无法在两个节点之间建立连接,但我不明白为什么。
第一台机器在 ubuntu 18.04.4 LTS 上,第二台在 osx 10.14.6 (Mojave) 上,两者都具有所需的配置(或更多),并且它们在同一个网络上(并且相距 50 厘米)。
我错过了什么吗? 谢谢
【问题讨论】:
标签: openstack