安装时devstack扫视错误

时间:2017-09-07 05:44:23

标签: installation openstack devstack openstack-glance

+functions:wait_for_service:407
+lib/glance:start_glance:355
+functions-common:die:186
[Call Trace]
./stack.sh:1275:start_glance
/opt/stack/devstack/lib/glance:355:die
[ERROR] /opt/stack/devstack/lib/glance:355 g-api did not start
Error on exit

操作系统:Ubuntu 16.04

在OpenStack多节点安装期间,Controller节点发生此错误。

Controller的local.conf是

[[local|localrc]]
HOST_IP=10.10.15.21
FLAT_INTERFACE=eth0
FIXED_RANGE=10.10.10.0/24
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=10.10.20.0/24

MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

MYSQL_HOST=127.0.0.1
MYSQL_PASSWORD=$ADMIN_PASSWORD

有关如何解决此错误的任何建议?

3 个答案:

答案 0 :(得分:2)

受@ M.S。Raghunandan的启发,以下内容帮助我启动了openstack:

  1. ./unstack.sh
  2. ./clean.sh
  3. killall -u stack
  4. ./stack.sh

答案 1 :(得分:0)

此错误已解决。

Just' ./ unstack.sh; ./stack.sh'

答案 2 :(得分:-1)

1)./unstack.sh

2)./clean.sh

3)rm -rf devstack

4)重新启动系统

5)git clone <link to devstack url on git>

6)cd devstack

7)./stack.sh