<div dir="ltr"><div><div>Thanks Anish.<br><br><br></div>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.<br><br><br><br></div>--pradip<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 5, 2014 at 5:00 AM, Anish Bhatt <span dir="ltr"><<a href="mailto:anish@chelsio.com" target="_blank">anish@chelsio.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="https://bugs.launchpad.net/oslo.config/+bug/1374741" target="_blank">https://bugs.launchpad.net/oslo.config/+bug/1374741</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Anish<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Pradip Mukhopadhyay [mailto:<a href="mailto:pradip.interra@gmail.com" target="_blank">pradip.interra@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, November 4, 2014 2:27 AM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> [openstack-dev] devstack build is failing<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello,<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Trying first time to build a devstack in my Ubuntu-14.10 VM. Getting the following error:<br>
<br>
<br>
2014-11-04 09:27:32.182 | + recreate_database_mysql nova latin1<br>
2014-11-04 09:27:32.182 | + local db=nova<br>
2014-11-04 09:27:32.182 | + local charset=latin1<br>
2014-11-04 09:27:32.182 | + mysql -uroot -pstackdb -h127.0.0.1 -e 'DROP DATABASE IF EXISTS nova;'<br>
2014-11-04 09:27:32.186 | + mysql -uroot -pstackdb -h127.0.0.1 -e 'CREATE DATABASE nova CHARACTER SET latin1;'<br>
2014-11-04 09:27:32.189 | + /usr/local/bin/nova-manage db sync<br>
2014-11-04 09:27:32.455 | Traceback (most recent call last):<br>
2014-11-04 09:27:32.455 | File "/usr/local/bin/nova-manage", line 6, in <module><br>
2014-11-04 09:27:32.455 | from nova.cmd.manage import main<br>
2014-11-04 09:27:32.455 | File "/home/ubuntu/devstack/nova/nova/cmd/manage.py", line 68, in <module><br>
2014-11-04 09:27:32.455 | from nova.api.ec2 import ec2utils<br>
2014-11-04 09:27:32.455 | File "/home/ubuntu/devstack/nova/nova/api/ec2/__init__.py", line 34, in <module><br>
2014-11-04 09:27:32.455 | from nova.api.ec2 import faults<br>
2014-11-04 09:27:32.455 | File "/home/ubuntu/devstack/nova/nova/api/ec2/faults.py", line 20, in <module><br>
2014-11-04 09:27:32.455 | from nova import utils<br>
2014-11-04 09:27:32.455 | File "/home/ubuntu/devstack/nova/nova/utils.py", line 39, in <module><br>
2014-11-04 09:27:32.456 | from oslo.concurrency import lockutils<br>
2014-11-04 09:27:32.456 | File "/usr/local/lib/python2.7/dist-packages/oslo/concurrency/lockutils.py", line 30, in <module><br>
2014-11-04 09:27:32.456 | from oslo.config import cfgfilter<br>
2014-11-04 09:27:32.456 | ImportError: cannot import name cfgfilter<br>
2014-11-04 09:27:32.471 | + exit_trap<br>
2014-11-04 09:27:32.471 | + local r=1<br>
2014-11-04 09:27:32.471 | ++ jobs -p<br>
2014-11-04 09:27:32.472 | + jobs=<br>
2014-11-04 09:27:32.472 | + [[ -n '' ]]<br>
2014-11-04 09:27:32.472 | + kill_spinner<br>
2014-11-04 09:27:32.472 | + '[' '!' -z '' ']'<br>
2014-11-04 09:27:32.472 | + [[ 1 -ne 0 ]]<br>
<br>
<br>
<br>
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Any idea what is missing? Any help is highly appreciated.<br>
<br>
<br>
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Some more details may be helpful:<u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">ubuntu@ubuntu:~$ uname -a</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">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</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">ubuntu@ubuntu:~$ python --version</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">Python 2.7.6</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">ubuntu@ubuntu:~$ which python</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">/usr/bin/python</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Pradip<br>
<br>
<u></u><u></u></p>
</div>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>