Landspace Openstack 安装卡在 91%

Landspace Openstack 安装卡在 91%

我尝试了几次,但每次 Openstack 安装在 91% 处都停止了。我该如何调试它在哪里停止以及为什么停止?

In progress Add unit to 'ntpmaster' service on 'surprised-mountain.maas'    Today 17:33 UTC
In progress Add unit to 'rabbitmq-server' service on 'disastrous-copper.maas'   Today 17:33 UTC
In progress Add unit to 'neutron-api' service on 'disastrous-copper.maas'   Today 17:33 UTC
In progress Add unit to 'mysql' service on 'surprised-mountain.maas'    Today 17:33 UTC
In progress Add unit to 'glance' service on 'worrisome-sister.maas' Today 17:33 UTC

答案1

确实可能有多种原因。因此,让我们来看一下从失败的部署中获取日志的一般步骤。首先,让我们展示如何访问此处使用的不同 juju 环境:

  • 景观环境:自动驾驶仪部署的位置
  • 自动驾驶环境:自动驾驶创建的云环境

取自景观openstack juju管理

要访问 Landscape juju 环境,请从安装 LDS 的位置运行以下命令:

# First we need to get to the Landscape juju environment.
# 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. This gives you access to the Autopilot deployed cloud
# juju environment:
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'

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

此时,您可以探索云环境。nova-compute/0例如,要访问单元,请运行juju ssh nova-compute/0

可用于调试停滞部署的数据和日志如下:

  • /var/log/landscape-server/*.log来自landscape/0景观环境中的单位。特别是job-handler.log
  • /var/log/juju/*.log从云环境引导单元(机器 0,运行juju ssh 0以到达它landscape/0
  • juju status来自云环境的输出
  • 在您确定 Landscape 停滞时,您在 Landscape 中注册了多少台计算机(如果有)。如果为零,则我们需要/var/log/landscape/*.log来自任何云环境单元的数据,例如nova-compute/0

答案2

启动板错误是同样的问题,似乎在那里处理会更好?

相关内容