OpenStack:重启后Keystone和nova网络处于非活动状态

时间:2016-04-29 10:30:14

标签: centos openstack openstack-horizon openstack-neutron rdo

CentOS 7.2(7.2.1511)上安装RDO(OpenStack Packstack)后,我总是最终得到以下信息:

成功安装OpenStack后,我可以按预期使用OpenStack。 即使是openstack状态也会返回:

..
openstack-nova-network:                 inactive  (disabled on boot)
openstack-keystone:                     inactive  (disabled on boot)
mysqld:                                 inactive  (disabled on boot)
.. (and some more)

重新启动系统后,我无法再访问Keystone (因为它在启动时被禁用),但如果我尝试手动启动服务:

service openstack-nova-network restart

的所有服务

openstack-service start

以超时结束。所以基本上 - 一旦我重新启动我安装OpenStack的VM,我就不能再使用OpenStack了..

我安装了以下命令:

sudo -i
systemctl disable NetworkManager firewalld
systemctl enable network
vi /etc/selinux/config
SELINUX=permissive

sync;reboot

vi /etc/enviroment
LANG=en_US.utf-8
LC_ALL=en_US.utf-8

yum install -y centos-release-openstack-mitaka
yum update -y
yum install -y openstack-packstack
packstack --allinone

2 个答案:

答案 0 :(得分:1)

我在centos 7上遇到了openstack mitaka的一些问题,这解决了这个问题: systemctl restart httpd.service

答案 1 :(得分:1)

由于这些服务已禁用,因此重新启动时不会启动它们。您首先需要启用该服务,然后启动它。请参阅this

systemctl enable openstack-keystone.service
systemctl start openstack-keystone.service