This problem is caused by the follwoing bug in python-eventlet:
https://bitbucket.org/eventlet/eventlet/issue/149/yield-in-except-clause-with-wilcard-raise
A fix has been comitted but is waiting for the next release. There is a workaround already commonly used in Openstack:
nova.openstack.common.excutils.save_and_reraise_exception()
The number of except clauses that contain a yield should be minimal so it should not be necessary to path them all. Probably best to follow same path as other services i.e. use save_and_reraise_exception() and wait for eventlet patch to be released.
This problem is caused by the follwoing bug in python-eventlet:
https:/ /bitbucket. org/eventlet/ eventlet/ issue/149/ yield-in- except- clause- with-wilcard- raise
A fix has been comitted but is waiting for the next release. There is a workaround already commonly used in Openstack:
nova.openstack. common. excutils. save_and_ reraise_ exception( )
The number of except clauses that contain a yield should be minimal so it should not be necessary to path them all. Probably best to follow same path as other services i.e. use save_and_ reraise_ exception( ) and wait for eventlet patch to be released.