devstack havana installation failure on ubuntu 14.04

asked 2014-11-21 00:57:05 -0600

Bharath gravatar image

I am trying install openstack using devstack on Ubuntu 14.04. I am facing below error.

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

I Request help on resolving this issue.

Thanks in advance.

Bharath

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2014-12-30 02:00:04 -0600

Samta Rangare gravatar image

unstack devstack setup - ./unstack.sh

Remove oslo - sudo apt-get remove oslo*

stack devstack setup - ./stack

This seems to work for me

edit flag offensive delete link more
0

answered 2014-12-30 01:58:45 -0600

Samta gravatar image

unstack devstack setup - ./unstack.sh

Remove oslo - sudo apt-get remove oslo*

stack devstack setup - ./stack

This seems to work for me

edit flag offensive delete link more
0

answered 2014-11-27 01:21:45 -0600

rice gravatar image

I meet the same issue when I follow the http://docs.openstack.org/developer/ironic/deploy/install-guide.html (Bare Metal Service Installation Guide)

root@myhost:~# service nova-scheduler restart
nova-scheduler: unrecognized service

root@myhost:~# nova-scheduler restart
Traceback (most recent call last):
File "/usr/local/bin/nova-scheduler", line 6, in <module>
from nova.cmd.scheduler import main
File "/opt/stack/nova/nova/cmd/scheduler.py", line 27, in <module>
from nova import service
File "/opt/stack/nova/nova/service.py", line 30, in <module>
from nova import conductor
File "/opt/stack/nova/nova/conductor/__init__.py", line 17, in <module>
from nova.conductor import api as conductor_api
File "/opt/stack/nova/nova/conductor/api.py", line 21, in <module>
from nova.conductor import manager
File "/opt/stack/nova/nova/conductor/manager.py", line 26, in <module>
from nova.api.ec2 import ec2utils
File "/opt/stack/nova/nova/api/ec2/__init__.py", line 34, in <module>
from nova.api.ec2 import faults
File "/opt/stack/nova/nova/api/ec2/faults.py", line 20, in <module>
from nova import utils
File "/opt/stack/nova/nova/utils.py", line 39, in <module>
from oslo.concurrency import lockutils
File "/usr/local/lib/python2.7/dist-packages/oslo/concurrency/lockutils.py", line 30, in <module>
from oslo.config import cfgfilter
ImportError: cannot import name cfgfilter

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-11-21 00:57:05 -0600

Seen: 716 times

Last updated: Dec 30 '14