Re: [openstack-dev] devstack build is failing
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 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.inte...@gmail.com] > *Sent:* Tuesday, November 4, 2014 2:27 AM > *To:* openstack-dev@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 > > 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 > 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 > 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 > 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 > 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 > 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@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@ubuntu:~$ python --version > > Python 2.7.6 > > ubuntu@ubuntu:~$ which python > > /usr/bin/python > > > > > > > > > > Thanks, > > Pradip > > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] devstack build is failing
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.inte...@gmail.com] Sent: Tuesday, November 4, 2014 2:27 AM To: openstack-dev@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 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 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 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 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 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 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@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@ubuntu:~$ python --version Python 2.7.6 ubuntu@ubuntu:~$ which python /usr/bin/python Thanks, Pradip ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[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 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 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 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 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 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 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@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@ubuntu:~$ python --version Python 2.7.6 ubuntu@ubuntu:~$ which python /usr/bin/python Thanks, Pradip ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev