Openstack Autopilot 成功完成后,如何查看哪些 Openstack 服务已部署到哪些服务器?

Openstack Autopilot 成功完成后,如何查看哪些 Openstack 服务已部署到哪些服务器?

我已成功使用 MAAS 服务器上的 openstack-install 安装了 Landscape 管理选项。

我已在 Landscape Web 控制台中成功配置了 Openstack Autopilot beta 选项并运行安装。

我现在在我的 MAAS 节点 (6) 上有一个干净的 Openstack 部署。

我想了解 Openstack 服务如何通过 Autopoilot 分布在我的 MAAS 节点上。

如果在我的 MAAS 服务器上我输入:

export JUJU_HOME=~/.cloud-install/juju
juju status

我可以看到 Landscape 本身是如何部署到 MAAS 节点之一上的大量 LXC 容器中的。但我看不到 Landscape Autopilot 工具如何继续使用 juju 在其他节点上部署 Openstack。

我真的很想了解 juju 做了什么,以便更好地了解 a) 我最终得到了什么以及 b) Ubuntu Openstack 参考部署如何结合在一起。我该如何查看 Autopilot 结果的“juju 状态”?

答案1

类似于: 景观openstack juju管理

您可以使用以下内容:

# If you used the install-openstack tool, you want to do this first:
export JUJU_HOME=~/.cloud-install/juju
juju status

# Get an interactive shell with the right ENV sourced on the landscape
# server itself.
juju ssh landscape/0 sudo 'JUJU_HOME=/var/lib/landscape/juju-homes/`sudo ls -rt /var/lib/landscape/juju-homes/ | tail -1` sudo -u landscape -E bash'

# (or maybe this depending on your version of the tools)
juju ssh landscape-server/0 sudo 'JUJU_HOME=/var/lib/landscape/juju-homes/`sudo ls -rt /var/lib/landscape/juju-homes/ | tail -1` sudo -u landscape -E bash'

# You should see a lot of openstack services with this command:
juju status

相关内容