【问题标题】:I want to setup a Multi-node OpenStack with microStack but it keep failing, what am i doing wrong?我想用 microStack 设置一个多节点 OpenStack,但它一直失败,我做错了什么?
【发布时间】: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


    【解决方案1】:

    正如我们所说,我正在努力获得微堆栈方面的经验......所以我不确定。 看起来您没有指定集群密码,或者您指定了一个空密码,起初看起来不错,但如果连接失败,则无论何时连接。请参阅您的 pastebin 的第 14/15 行

    【讨论】:

      猜你喜欢
      • 2019-02-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-25
      相关资源
      最近更新 更多