commit f32af7b42e7801338583f67e794792f22df70a5d
Author: Russell Bryant <email address hidden>
Date: Tue Mar 5 10:50:15 2013 -0500
Preserve exceptions in impl_zmq.
There is complication with re-raising exceptions and our usage of
eventlet. If the code in the exception handler accesses the db or rpc
in the exception handler, it will no longer be able to re-raise the
exception. Using excutils.save_and_reraise_exception() works aorund
this issue.
The most common error is calling LOG.error() or LOG.exception(), as it
is possible for these to go access rpc. There is an option to turn on
notifications for these errors.
Reviewed: https:/ /review. openstack. org/23565 github. com/openstack/ oslo-incubator/ commit/ f32af7b42e78013 38583f67e794792 f22df70a5d
Committed: http://
Submitter: Jenkins
Branch: master
commit f32af7b42e78013 38583f67e794792 f22df70a5d
Author: Russell Bryant <email address hidden>
Date: Tue Mar 5 10:50:15 2013 -0500
Preserve exceptions in impl_zmq.
There is complication with re-raising exceptions and our usage of save_and_ reraise_ exception( ) works aorund
eventlet. If the code in the exception handler accesses the db or rpc
in the exception handler, it will no longer be able to re-raise the
exception. Using excutils.
this issue.
The most common error is calling LOG.error() or LOG.exception(), as it
is possible for these to go access rpc. There is an option to turn on
notifications for these errors.
Fix bug 845866.
Change-Id: Ic914bba4703200 ed114a42e3a5540 2883b430407