[openstack-dev] [nova]nova not work with eventlet 0.16.0

Matt Riedemann mriedem at linux.vnet.ibm.com
Tue Jan 6 16:21:10 UTC 2015



On 1/6/2015 6:33 AM, Jay Pipes wrote:
> Thanks Eli, please do file a bug on Launchpad with your information below.
>
> Best,
> -jay
>
> On 01/06/2015 04:18 AM, Eli Qiao wrote:
>> 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
>>
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

Odd...eventlet 0.16.0 was released on 12/30 and the eventlet.util import 
is still in the libvirt host module, but this isn't blowing up in the 
Jenkins runs, so what's different?  There isn't a version cap on 
eventlet in global-requirements either.

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list