[openstack-dev] [nova]nova not work with eventlet 0.16.0
Eli Qiao
taget at linux.vnet.ibm.com
Tue Jan 6 09:18:43 UTC 2015
hi all ,
I set up nova environment with latest upstream code.
nova-compute can not boot up due to failed to load libvirt driver.
by further debugging. found that eventlet (0.16.0) remove util which is
referenced by libvirt driver.
after I downgrade to (0.15.2) it works.
*0.15.2*
In [3]: print eventlet.__version__
0.15.2
In [5]: import eventlet.util
In [6]:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*0.16.0**
*
In [1]: import eventlet.util
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-a23626d6f273> in <module>()
----> 1 import eventlet.util
ImportError: No module named util
In [3]: import eventlet
In [4]: print eventlet.__version__
0.16.0
In [5]:
++++++++++++++++++++++++++++++++++++++++++++++++
In [1]: import nova.virt.libvirt.LibvirtDriver
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-2bdce28fc3dd> in <module>()
----> 1 import nova.virt.libvirt.LibvirtDriver
/opt/stack/nova/nova/virt/libvirt/__init__.py in <module>()
13 # under the License.
14
---> 15 from nova.virt.libvirt import driver
16
17 LibvirtDriver = driver.LibvirtDriver
/opt/stack/nova/nova/virt/libvirt/driver.py in <module>()
96 from nova.virt.libvirt import dmcrypt
97 from nova.virt.libvirt import firewall as libvirt_firewall
---> 98 from nova.virt.libvirt import host
99 from nova.virt.libvirt import imagebackend
100 from nova.virt.libvirt import imagecache
/opt/stack/nova/nova/virt/libvirt/host.py in <module>()
37 from eventlet import patcher
38 from eventlet import tpool
---> 39 from eventlet import util as eventlet_util
40
41 from nova import exception
ImportError: cannot import name util
In [2]: import eventlet
In [3]: from eventlet import util
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-f6f91e4749eb> in <module>()
----> 1 from eventlet import util
ImportError: cannot import name util
In [4]:
--
Thanks,
Eli (Li Yong) Qiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150106/4404d77d/attachment.html>
More information about the OpenStack-dev
mailing list