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

Adam Gandelman adamg at ubuntu.com
Wed Jan 14 04:17:31 UTC 2015


So eventlet 0.16.x has started hitting slaves and breaking stable branches
(its not like we weren't warned :\ )

https://bugs.launchpad.net/nova/+bug/1410626

Should hopefully be resolved by eventlet versions caps in icehouse + juno's
requirements:

https://review.openstack.org/#/q/I4bbbeb5bf9c22ed36f5c9a74fec6b487d2c15697,n,z

Cheers,
Adam


On Tue, Jan 6, 2015 at 1:18 AM, Eli Qiao <taget at linux.vnet.ibm.com> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150113/9455003b/attachment.html>


More information about the OpenStack-dev mailing list