景观自动驾驶仪停留在 77%

景观自动驾驶仪停留在 77%

我正在尝试在我的测试实验室中安装 OpenStack Autopilot,但遇到了问题。MAAS 已看到节点并能够开始部署。但是,当我在 Landscape 中启动 OpenStack 安装时,它卡在了 77%

这是最新推出的 Autopilot 版本。如下图所示,所有机器都挂着“在 LXC 中添加 juju 机器”

在系统日志中我发现了这一点:

Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.367 [conn48]  authenticate db: admin { authenticate: 1, nonce: "61b90d6dfe13bca2", user: "machine-0", key: "a1b501910b11b116d313168214d40500" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.367 [conn41]  authenticate db: admin { authenticate: 1, nonce: "bea4001cc8269ca0", user: "machine-0", key: "77291ade9456916207e1d737840aeaf3" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.370 [conn41]  authenticate db: admin { authenticate: 1, nonce: "aa302f0f39f3a62e", user: "machine-0", key: "d7f14f5ffbf445e2d2b7beca68e1d265" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.371 [conn48]  authenticate db: admin { authenticate: 1, nonce: "8761016b1ab6d010", user: "machine-0", key: "7d2bfbb01afeaf9f36559de03cac35f8" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.375 [conn48]  authenticate db: admin { authenticate: 1, nonce: "42c76307720ff38a", user: "machine-0", key: "539f36d66ded1cd82a5471f94aee3c5e" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.378 [conn48]  authenticate db: admin { authenticate: 1, nonce: "7d2d720cf2939e06", user: "machine-0", key: "fb5395ac525e1b0bb4fb0ee62d5e4722" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.386 [conn41]  authenticate db: admin { authenticate: 1, nonce: "730bac04c85843a0", user: "machine-0", key: "eadc49621866726d8c4176c179d8448f" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.388 [conn48]  authenticate db: admin { authenticate: 1, nonce: "c025e1ab24921a46", user: "machine-0", key: "bc6b075f5af6c9455b00a40f5cad8b75" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.390 [conn41]  authenticate db: admin { authenticate: 1, nonce: "e99f87e012ffd696", user: "machine-0", key: "5363b2d6be729ad2cd7cef8f9b2b9341" }
Mar  3 14:15:31 chief-chalk mongod.37017[5258]: Thu Mar  3 14:15:31.393 [conn48]  authenticate db: admin { authenticate: 1, nonce: "ae732f9554bb78cf", user: "machine-0", key: "7dd8f08e7eaff998c86a398d19623418" }
Mar  3 14:15:31 chief-chalk rsyslogd-2089: netstream session 0x7faf78369b40 will be closed due to error

Mar  3 14:15:31 chief-chalk rsyslogd-2089: netstream session 0x7faf783cadc0 will be closed due to error

^C
ubuntu@chief-chalk:/var/log$

ubuntu@chief-chalk:/var/log/juju$ sudo tail -f machine-0.log
2016-03-03 13:55:03 DEBUG juju.apiserver apiserver.go:275 -> [1] machine-0 6.120057ms {"RequestId":20,"Response":"'body redacted'"} Environment[""].WatchForEnvironConfigChanges
2016-03-03 13:55:03 DEBUG juju.network network.go:268 no lxc bridge addresses to filter for machine
2016-03-03 13:55:03 INFO juju.worker.machiner machiner.go:132 setting addresses for machine-0 to ["local-machine:127.0.0.1" "local-cloud:192.168.210.50" "local-machine:::1"]
2016-03-03 13:55:03 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "<root>=DEBUG" to "<root>=WARNING;unit=DEBUG"
2016-03-03 13:55:03 ERROR juju.state machine.go:1750 cannot update supported containers of machine 0: EOF
2016-03-03 13:55:03 ERROR juju.worker runner.go:223 exited "276561b1-e5fc-4361-8a99-8f0ce6c99744": failed to open state for environment 276561b1-e5fc-4361-8a99-8f0ce6c99744: cannot create index: EOF
2016-03-03 13:55:03 ERROR juju.worker runner.go:223 exited "api-post-upgrade": setting up container support: setting supported containers for machine-0: EOF
2016-03-03 13:55:03 ERROR juju.worker runner.go:223 exited "rsyslog": failed to write rsyslog certificates: cannot write settings: EOF
2016-03-03 13:55:03 ERROR juju.worker runner.go:223 exited "diskmanager": EOF
2016-03-03 13:55:03 ERROR juju.worker runner.go:223 exited "machiner": setting machine addresses: cannot set machine addresses of machine 0: EOF
^Cubuntu@chief-chalk:/var/log/juju$

在此处输入图片描述

答案1

您必须在 vSwitch 中允许混杂模式,否则我们在虚拟机内部启动的 LXC 容器将被阻止进入网络。

答案2

我也遇到了同样的问题。在 esxi 5.5 上运行,MaaS 运行良好。我应该在哪里查找有关错误的线索?仅供参考,这是我第一次使用自动驾驶仪进行部署。如果我们在 GUI 中有更多关于错误的信息,这将有助于排除故障。

相关内容