简体   繁体   English

无法在 Ubuntu 上使用 Devstack 安装 Openstack 20

[英]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.我一直在尝试在 Virtualbox 中的 Ubuntu 20 OS VM 上安装 Openstack 并收到以下错误。

[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. local.conf 文件内容如下。

~/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.我已经尝试了./unstack 和./clean 几次。 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.如 Devstack 页面所述,Devstack 在 Ubuntu 18.04 上进行了最佳测试。 Thats why, it may have problems on Ubuntu 20.04.这就是为什么,它可能在 Ubuntu 20.04 上有问题。 I suggest that you use Ubuntu 18.04 instead.我建议您改用 Ubuntu 18.04。 I had tested it on Ubuntu 18.04 and it basicly works.我已经在 Ubuntu 18.04 上对其进行了测试,它基本上可以工作。 Another question;另一个问题; why do you disable etcd3?你为什么禁用etcd3? what is purpose?什么是目的?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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