Comment 7 for bug 845866

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/23566
Committed: http://github.com/openstack/nova/commit/2f983793574de07269c4a79852d75a9059465ee0
Submitter: Jenkins
Branch: master

commit 2f983793574de07269c4a79852d75a9059465ee0
Author: Russell Bryant <email address hidden>
Date: Tue Mar 5 10:55:18 2013 -0500

    Fix issues with re-raising exceptions.

    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.

    Fix bug 845866.

    Change-Id: Icfca2af63805711229249aa7abe60a938edd1b35