在 Ubuntu 服务器 14.04 x64 上安装 openstack 时,我发出以下命令:
sudo add-apt-repository ppa:cloud-installer/stable
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install openstack
sudo openstack-install
我收到错误:Top-level container OS did not initialize correctly
如何解决它才能正确安装 openstack?
答案1
答案2
请按照此说明操作启用 IP 转发,因为Top-level container OS did not initialize correctly
错误意味着您正在使用 systemd 的系统上运行并已将其配置为使用 systemd-networkd,现在您需要IPForward=yes
在文件中与到达外界的接口相对应的[Network]
部分进行设置。.network
例如,在这个 Wily 系统上,你应该编辑/lib/systemd/network/80-container-host0.network
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Match]
Virtualization=container
Name=host0
[Network]
DHCP=yes
LinkLocalAddressing=yes
# Fix unresolvable network in LXC containers.
IPForward=yes