devstack 在 Ubuntu14.04 上失败

devstack 在 Ubuntu14.04 上失败

我正在尝试在 Ubuntu 14.04 上使用 devstack 安装 openstack。我遇到了以下错误:

2014-11-20 12:05:03.300 | + mysql -uroot -popenstack -h172.16.69.217 -e 'DROP DATABASE IF EXISTS nova;'
2014-11-20 12:05:03.303 | + mysql -uroot -popenstack -h172.16.69.217 -e 'CREATE DATABASE nova CHARACTER SET latin1;'
2014-11-20 12:05:03.307 | + /usr/local/bin/nova-manage db sync
2014-11-20 12:05:03.539 | Traceback (most recent call last):
2014-11-20 12:05:03.539 |   File "/usr/local/bin/nova-manage", line 6, in <module>
2014-11-20 12:05:03.539 |     from nova.cmd.manage import main
2014-11-20 12:05:03.539 |   File "/opt/stack/nova/nova/cmd/manage.py", line 68, in <module>
2014-11-20 12:05:03.539 |     from nova.api.ec2 import ec2utils
2014-11-20 12:05:03.539 |   File "/opt/stack/nova/nova/api/ec2/__init__.py", line 32, in <module>
2014-11-20 12:05:03.539 |     from nova.api.ec2 import apirequest
2014-11-20 12:05:03.539 |   File "/opt/stack/nova/nova/api/ec2/apirequest.py", line 29, in <module>
2014-11-20 12:05:03.539 |     from nova.api.ec2 import ec2utils
2014-11-20 12:05:03.539 |   File "/opt/stack/nova/nova/api/ec2/ec2utils.py", line 28, in <module>
2014-11-20 12:05:03.539 |     from nova.objects import base as obj_base
2014-11-20 12:05:03.540 |   File "/opt/stack/nova/nova/objects/base.py", line 35, in <module>
2014-11-20 12:05:03.540 |     from nova import utils
2014-11-20 12:05:03.540 |   File "/opt/stack/nova/nova/utils.py", line 39, in <module>
2014-11-20 12:05:03.540 |     from oslo.concurrency import lockutils
2014-11-20 12:05:03.540 |   File "/usr/local/lib/python2.7/dist-packages/oslo/concurrency/lockutils.py", line 30, in <module>
2014-11-20 12:05:03.540 |     from oslo.config import cfgfilter
2014-11-20 12:05:03.540 | ImportError: cannot import name cfgfilter

有人能帮我解决这个问题吗?

答案1

如果您只是想试用 OpenStack 部署,最简单的入门方法是:http://www.ubuntu.com/download/cloud/install-ubuntu-openstack

这使您能够部署由 Juju、MAAS 和 Landscape 支持的完整 OpenStack 云(为您提供 10 个免费虚拟席位和 10 个免费裸机席位)

相关内容