[openstack-dev] devstack build is failing

Pradip Mukhopadhyay pradip.interra at gmail.com
Wed Nov 5 03:31:49 UTC 2014


Thanks Anish.


I guess the same happened to me. A mixed of python packages. So what I did
is that 'pip uninstall', followed by unstack, followed by ./clean.sh,
followed by stack.sh. It worked. So far so good.



--pradip



On Wed, Nov 5, 2014 at 5:00 AM, Anish Bhatt <anish at chelsio.com> wrote:

>  I had similar errors due to a mixture of python packages installed via
> yum not playing too nicely with pip. I ended up nuking most of the install
> to fix it, so don’t have a recommendation beyond that, plus I was using
> RHEL 7. Maybe this is of interest to you
>
> https://bugs.launchpad.net/oslo.config/+bug/1374741
>
>
>
> -Anish
>
>
>
> *From:* Pradip Mukhopadhyay [mailto:pradip.interra at gmail.com]
> *Sent:* Tuesday, November 4, 2014 2:27 AM
> *To:* openstack-dev at lists.openstack.org
> *Subject:* [openstack-dev] devstack build is failing
>
>
>
> Hello,
>
>
>
> Trying first time to build a devstack in my Ubuntu-14.10 VM. Getting the
> following error:
>
>
> 2014-11-04 09:27:32.182 | + recreate_database_mysql nova latin1
> 2014-11-04 09:27:32.182 | + local db=nova
> 2014-11-04 09:27:32.182 | + local charset=latin1
> 2014-11-04 09:27:32.182 | + mysql -uroot -pstackdb -h127.0.0.1 -e 'DROP
> DATABASE IF EXISTS nova;'
> 2014-11-04 09:27:32.186 | + mysql -uroot -pstackdb -h127.0.0.1 -e 'CREATE
> DATABASE nova CHARACTER SET latin1;'
> 2014-11-04 09:27:32.189 | + /usr/local/bin/nova-manage db sync
> 2014-11-04 09:27:32.455 | Traceback (most recent call last):
> 2014-11-04 09:27:32.455 |   File "/usr/local/bin/nova-manage", line 6, in
> <module>
> 2014-11-04 09:27:32.455 |     from nova.cmd.manage import main
> 2014-11-04 09:27:32.455 |   File
> "/home/ubuntu/devstack/nova/nova/cmd/manage.py", line 68, in <module>
> 2014-11-04 09:27:32.455 |     from nova.api.ec2 import ec2utils
> 2014-11-04 09:27:32.455 |   File
> "/home/ubuntu/devstack/nova/nova/api/ec2/__init__.py", line 34, in <module>
> 2014-11-04 09:27:32.455 |     from nova.api.ec2 import faults
> 2014-11-04 09:27:32.455 |   File
> "/home/ubuntu/devstack/nova/nova/api/ec2/faults.py", line 20, in <module>
> 2014-11-04 09:27:32.455 |     from nova import utils
> 2014-11-04 09:27:32.455 |   File
> "/home/ubuntu/devstack/nova/nova/utils.py", line 39, in <module>
> 2014-11-04 09:27:32.456 |     from oslo.concurrency import lockutils
> 2014-11-04 09:27:32.456 |   File
> "/usr/local/lib/python2.7/dist-packages/oslo/concurrency/lockutils.py",
> line 30, in <module>
> 2014-11-04 09:27:32.456 |     from oslo.config import cfgfilter
> 2014-11-04 09:27:32.456 | ImportError: cannot import name cfgfilter
> 2014-11-04 09:27:32.471 | + exit_trap
> 2014-11-04 09:27:32.471 | + local r=1
> 2014-11-04 09:27:32.471 | ++ jobs -p
> 2014-11-04 09:27:32.472 | + jobs=
> 2014-11-04 09:27:32.472 | + [[ -n '' ]]
> 2014-11-04 09:27:32.472 | + kill_spinner
> 2014-11-04 09:27:32.472 | + '[' '!' -z '' ']'
> 2014-11-04 09:27:32.472 | + [[ 1 -ne 0 ]]
>
>
>
>  Any idea what is missing? Any help is highly appreciated.
>
>
>   Some more details may be helpful:
>
> ubuntu at ubuntu:~$ uname -a
>
> Linux ubuntu 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014
> x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> ubuntu at ubuntu:~$ python --version
>
> Python 2.7.6
>
> ubuntu at ubuntu:~$ which python
>
> /usr/bin/python
>
>
>
>
>
>
>
>
>
> Thanks,
>
> Pradip
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141105/25304cc0/attachment.html>


More information about the OpenStack-dev mailing list