Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On 01/14/2015 07:58 AM, Ihar Hrachyshka wrote: > > On 01/14/2015 01:44 PM, Daniel P. Berrange wrote: >> On Wed, Jan 14, 2015 at 07:39:59AM -0500, Sean Dague wrote: >>> On 01/14/2015 04:08 AM, Dr. Jens Rosenboom wrote: Am 14/01/15 um 05:17 schrieb Adam Gandelman: > 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 > > It was discussed already in the context of https://bugs.launchpad.net/nova/+bug/1407685 that capping eventlet would not be the proper solution, instead there is a fix already in master which has backports to icehouse + juno pending: https://review.openstack.org/#/c/145955/ https://review.openstack.org/#/c/146096/ Or is this new bug triggered by a different piece of code relating to the newly released eventlet 0.16.1? >>> Capping in stable/* is fine. A real openstack installation will not >>> randomly rev all the dependent libraries to a latest version. Assuming >>> that they will do so is misguided at best. >>> >>> There was real concern in getting master to work correctly, which was >>> done. But for stable, capping is the right answer. >> The patch that went into master is pretty trivial really. I don't see a >> reason to not just copy that into stable too. > > Gate issues are complicated due to the fact that currently we have > multiple failures for nova: > 1) eventlet patch missing/eventlet not capped; > 2) boto patch missing/boto not capped. > > Currently if you want to pass gate, you have two options: > a) squash boto and eventlet patches and merge them in; > b) merge in an update to requirements.txt that will cap both eventlet > and boto. > > The latter seems to be more straightforward. If you are interested in > making sure stable branches work ok with new boto/eventlet releases, you > will have time to resolve it while gate will be in good shape and not > broken (including master). After both boto and eventlet patches are > merged in all stable branches, we may reconsider uncapping them. And also matches the fact that we've agreed that stable requirements are going to be fully capped, the implementation is just lagging on that. -Sean -- Sean Dague http://dague.net __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On 01/14/2015 01:44 PM, Daniel P. Berrange wrote: On Wed, Jan 14, 2015 at 07:39:59AM -0500, Sean Dague wrote: On 01/14/2015 04:08 AM, Dr. Jens Rosenboom wrote: Am 14/01/15 um 05:17 schrieb Adam Gandelman: 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 It was discussed already in the context of https://bugs.launchpad.net/nova/+bug/1407685 that capping eventlet would not be the proper solution, instead there is a fix already in master which has backports to icehouse + juno pending: https://review.openstack.org/#/c/145955/ https://review.openstack.org/#/c/146096/ Or is this new bug triggered by a different piece of code relating to the newly released eventlet 0.16.1? Capping in stable/* is fine. A real openstack installation will not randomly rev all the dependent libraries to a latest version. Assuming that they will do so is misguided at best. There was real concern in getting master to work correctly, which was done. But for stable, capping is the right answer. The patch that went into master is pretty trivial really. I don't see a reason to not just copy that into stable too. Gate issues are complicated due to the fact that currently we have multiple failures for nova: 1) eventlet patch missing/eventlet not capped; 2) boto patch missing/boto not capped. Currently if you want to pass gate, you have two options: a) squash boto and eventlet patches and merge them in; b) merge in an update to requirements.txt that will cap both eventlet and boto. The latter seems to be more straightforward. If you are interested in making sure stable branches work ok with new boto/eventlet releases, you will have time to resolve it while gate will be in good shape and not broken (including master). After both boto and eventlet patches are merged in all stable branches, we may reconsider uncapping them. /Ihar __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On Wed, Jan 14, 2015 at 07:39:59AM -0500, Sean Dague wrote: > On 01/14/2015 04:08 AM, Dr. Jens Rosenboom wrote: > > Am 14/01/15 um 05:17 schrieb Adam Gandelman: > >> 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 > >> > > > > It was discussed already in the context of > > https://bugs.launchpad.net/nova/+bug/1407685 that capping eventlet would > > not be the proper solution, instead there is a fix already in master > > which has backports to icehouse + juno pending: > > > > https://review.openstack.org/#/c/145955/ > > https://review.openstack.org/#/c/146096/ > > > > Or is this new bug triggered by a different piece of code relating to > > the newly released eventlet 0.16.1? > > Capping in stable/* is fine. A real openstack installation will not > randomly rev all the dependent libraries to a latest version. Assuming > that they will do so is misguided at best. > > There was real concern in getting master to work correctly, which was > done. But for stable, capping is the right answer. The patch that went into master is pretty trivial really. I don't see a reason to not just copy that into stable too. Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On 01/14/2015 04:08 AM, Dr. Jens Rosenboom wrote: > Am 14/01/15 um 05:17 schrieb Adam Gandelman: >> 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 >> > > It was discussed already in the context of > https://bugs.launchpad.net/nova/+bug/1407685 that capping eventlet would > not be the proper solution, instead there is a fix already in master > which has backports to icehouse + juno pending: > > https://review.openstack.org/#/c/145955/ > https://review.openstack.org/#/c/146096/ > > Or is this new bug triggered by a different piece of code relating to > the newly released eventlet 0.16.1? Capping in stable/* is fine. A real openstack installation will not randomly rev all the dependent libraries to a latest version. Assuming that they will do so is misguided at best. There was real concern in getting master to work correctly, which was done. But for stable, capping is the right answer. -Sean -- Sean Dague http://dague.net __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On Jan 14, 2015 10:09 PM, "Dr. Jens Rosenboom" wrote: > > Am 14/01/15 um 05:17 schrieb Adam Gandelman: > >> 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 > > > It was discussed already in the context of https://bugs.launchpad.net/nova/+bug/1407685 that capping eventlet would not be the proper solution, instead there is a fix already in master which has backports to icehouse + juno pending: > > https://review.openstack.org/#/c/145955/ > https://review.openstack.org/#/c/146096/ > > Or is this new bug triggered by a different piece of code relating to the newly released eventlet 0.16.1? This is the same bug. Until we pick which fix to use all grenade jobs will fail. > > __ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
Am 14/01/15 um 05:17 schrieb Adam Gandelman: 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 It was discussed already in the context of https://bugs.launchpad.net/nova/+bug/1407685 that capping eventlet would not be the proper solution, instead there is a fix already in master which has backports to icehouse + juno pending: https://review.openstack.org/#/c/145955/ https://review.openstack.org/#/c/146096/ Or is this new bug triggered by a different piece of code relating to the newly released eventlet 0.16.1? __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
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 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) > in () > > 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) > in () > > 1 import nova.virt.libvirt.LibvirtDriver > > /opt/stack/nova/nova/virt/libvirt/__init__.py in () > 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 () > 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 () > 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) > in () > > 1 from eventlet import util > > ImportError: cannot import name util > > In [4]: > > -- > Thanks, > Eli (Li Yong) Qiao > > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
在 2015年01月07日 04:56, victor stinner 写道: Hi, 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. Can you please try my following change? https://review.openstack.org/#/c/145335/ It changes the libvirt driver to stop using the deprecated (and now removed) eventlet.util module. Victor thanks victor, you response so quick, appreciate, I will get some time to verify it ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Thanks, Eli (Li Yong) Qiao ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On 01/06/2015 09:56 PM, victor stinner wrote: > Hi, > >> 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. > > Can you please try my following change? > https://review.openstack.org/#/c/145335/ > > It changes the libvirt driver to stop using the deprecated (and now removed) > eventlet.util module. > > Victor Victor, Could you also backport this to Juno? Cheers, Thomas ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
Am 06/01/15 um 18:01 schrieb Daniel P. Berrange: On Tue, Jan 06, 2015 at 05:36:38PM +0100, Ihar Hrachyshka wrote: On 01/06/2015 05:33 PM, Daniel P. Berrange wrote: On Tue, Jan 06, 2015 at 10:21:10AM -0600, Matt Riedemann wrote: 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. When I pip install it in my dev env it still pulls in 0.15.2. Likewise looking at a jenkins log from today it pulls in 0.15.2 http://logs.openstack.org/89/140089/3/check/gate-nova-python27/55b24ee/tox/py27-1.log But the pypi page refers to 0.16.0 https://pypi.python.org/pypi/eventlet/ ?!?!? Maybe some external dependency pulls in older version? Ah, it seems my devpi/wheel caching setup was not seeing the new version. When I forced a refresh in that, it pulled down 0.16.0 Wonder if the gate has a similar cache refresh issue As I noted in https://bugs.launchpad.net/nova/+bug/1407685/comments/3 the pypi version of eventlet 0.16.0 does still include the old code, so you are only going to see this issue if you install eventlet from source. In particular most devstack issues will not see this issue until the pypi package is fixed. ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
Hi, > 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. Can you please try my following change? https://review.openstack.org/#/c/145335/ It changes the libvirt driver to stop using the deprecated (and now removed) eventlet.util module. Victor ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On Tue, Jan 06, 2015 at 05:36:38PM +0100, Ihar Hrachyshka wrote: > On 01/06/2015 05:33 PM, Daniel P. Berrange wrote: > >On Tue, Jan 06, 2015 at 10:21:10AM -0600, Matt Riedemann wrote: > >>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. > >When I pip install it in my dev env it still pulls in 0.15.2. > > > >Likewise looking at a jenkins log from today it pulls in 0.15.2 > > > > > > http://logs.openstack.org/89/140089/3/check/gate-nova-python27/55b24ee/tox/py27-1.log > > > >But the pypi page refers to 0.16.0 > > > > https://pypi.python.org/pypi/eventlet/ > > > >?!?!? > > > Maybe some external dependency pulls in older version? Ah, it seems my devpi/wheel caching setup was not seeing the new version. When I forced a refresh in that, it pulled down 0.16.0 Wonder if the gate has a similar cache refresh issue Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On 01/06/2015 05:33 PM, Daniel P. Berrange wrote: On Tue, Jan 06, 2015 at 10:21:10AM -0600, Matt Riedemann wrote: 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. When I pip install it in my dev env it still pulls in 0.15.2. Likewise looking at a jenkins log from today it pulls in 0.15.2 http://logs.openstack.org/89/140089/3/check/gate-nova-python27/55b24ee/tox/py27-1.log But the pypi page refers to 0.16.0 https://pypi.python.org/pypi/eventlet/ ?!?!? Regards, Daniel Maybe some external dependency pulls in older version? ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
On Tue, Jan 06, 2015 at 10:21:10AM -0600, Matt Riedemann wrote: > 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. When I pip install it in my dev env it still pulls in 0.15.2. Likewise looking at a jenkins log from today it pulls in 0.15.2 http://logs.openstack.org/89/140089/3/check/gate-nova-python27/55b24ee/tox/py27-1.log But the pypi page refers to 0.16.0 https://pypi.python.org/pypi/eventlet/ ?!?!? Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
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) in () > 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) in () > 1 import nova.virt.libvirt.LibvirtDriver /opt/stack/nova/nova/virt/libvirt/__init__.py in () 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 () 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 () 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) in () > 1 from eventlet import util ImportError: cannot import name util In [4]: -- Thanks, Eli (Li Yong) Qiao ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@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 ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [nova]nova not work with eventlet 0.16.0
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) in () > 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) in () > 1 import nova.virt.libvirt.LibvirtDriver /opt/stack/nova/nova/virt/libvirt/__init__.py in () 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 () 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 () 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) in () > 1 from eventlet import util ImportError: cannot import name util In [4]: -- Thanks, Eli (Li Yong) Qiao ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [nova]nova not work with eventlet 0.16.0
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) in () > 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) in () > 1 import nova.virt.libvirt.LibvirtDriver /opt/stack/nova/nova/virt/libvirt/__init__.py in () 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 () 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 () 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) in () > 1 from eventlet import util ImportError: cannot import name util In [4]: -- Thanks, Eli (Li Yong) Qiao ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev