<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi all , <br>
I set up nova environment with latest upstream code.<br>
nova-compute can not boot up due to failed to load libvirt driver.<br>
by further debugging. found that eventlet (0.16.0) remove util
which is referenced by libvirt driver.<br>
after I downgrade to (0.15.2) it works.<br>
<br>
<b>0.15.2</b><br>
<br>
In [3]: print eventlet.__version__<br>
0.15.2<br>
<br>
In [5]: import eventlet.util<br>
<br>
In [6]: <br>
<br>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
<b>0.16.0</b><b><br>
</b><br>
<br>
In [1]: import eventlet.util<br>
---------------------------------------------------------------------------<br>
ImportError Traceback (most recent
call last)<br>
<ipython-input-1-a23626d6f273> in <module>()<br>
----> 1 import eventlet.util<br>
<br>
ImportError: No module named util<br>
<br>
In [3]: import eventlet<br>
<br>
In [4]: print eventlet.__version__<br>
0.16.0<br>
<br>
In [5]: <br>
<br>
++++++++++++++++++++++++++++++++++++++++++++++++<br>
<br>
<br>
In [1]: import nova.virt.libvirt.LibvirtDriver<br>
---------------------------------------------------------------------------<br>
ImportError Traceback (most recent
call last)<br>
<ipython-input-1-2bdce28fc3dd> in <module>()<br>
----> 1 import nova.virt.libvirt.LibvirtDriver<br>
<br>
/opt/stack/nova/nova/virt/libvirt/__init__.py in <module>()<br>
13 # under the License.<br>
14 <br>
---> 15 from nova.virt.libvirt import driver<br>
16 <br>
17 LibvirtDriver = driver.LibvirtDriver<br>
<br>
/opt/stack/nova/nova/virt/libvirt/driver.py in <module>()<br>
96 from nova.virt.libvirt import dmcrypt<br>
97 from nova.virt.libvirt import firewall as libvirt_firewall<br>
---> 98 from nova.virt.libvirt import host<br>
99 from nova.virt.libvirt import imagebackend<br>
100 from nova.virt.libvirt import imagecache<br>
<br>
/opt/stack/nova/nova/virt/libvirt/host.py in <module>()<br>
37 from eventlet import patcher<br>
38 from eventlet import tpool<br>
---> 39 from eventlet import util as eventlet_util<br>
40 <br>
41 from nova import exception<br>
<br>
ImportError: cannot import name util<br>
<br>
In [2]: import eventlet<br>
<br>
In [3]: from eventlet import util<br>
---------------------------------------------------------------------------<br>
ImportError Traceback (most recent
call last)<br>
<ipython-input-3-f6f91e4749eb> in <module>()<br>
----> 1 from eventlet import util<br>
<br>
ImportError: cannot import name util<br>
<br>
In [4]: <br>
<br>
<pre class="moz-signature" cols="72">--
Thanks,
Eli (Li Yong) Qiao</pre>
</body>
</html>