简体   繁体   中英

Unable to install Openstack with Devstack on Ubuntu 20

I have been trying to install Openstack on Ubuntu 20 OS VM in Virtualbox and getting the following error.

[Call Trace]
./stack.sh:1311:start_glance
/opt/stack/devstack/lib/glance:480:die
[ERROR] /opt/stack/devstack/lib/glance:480 g-api did not start
Error on exit
World dumping... see /opt/stack/logs/worlddump-2021-02-08-170119.txt for details

I have searched with the error but none of that works. The local.conf file content is as follows.

~/devstack$ cat local.conf
[[local|localrc]]

# Password for KeyStone, Database, RabbitMQ and Service
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

# Host IP - get your Server/VM IP address from ip addr command
HOST_IP=192.168.122.1
disable_service etcd3

I have tried./unstack and./clean several times. If anyone has encountered the error and found a fix or knows the workaround, please help me. Appreciate your help.

As stated on Devstack page, Devstack best tested on Ubuntu 18.04. Thats why, it may have problems on Ubuntu 20.04. I suggest that you use Ubuntu 18.04 instead. I had tested it on Ubuntu 18.04 and it basicly works. Another question; why do you disable etcd3? what is purpose?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM