Comment 7 for bug 1496000

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/oslo.utils (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/12417
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: 318c0f14ca00c96127aabd7c9773f018bec8dcde
Author: Dmitry Mescheryakov <email address hidden>
Date: Fri Oct 2 10:18:48 2015

Make forever_retry_uncaught_exceptions handle its own failures

When an exception occurs inside 'except' clause, it is not handled.
As a result, forever_retry_uncaught_exceptions fails with exception,
while by definition it should not.

For instance, oslo.messaging's RPC server relies on that
function to process any exception. When forever_retry_... fails
to do so, the server thread dies. An example could be
found in referenced bug.

Change-Id: I415a0f49b25b80a264f0bc951f4b926d57a9c9a8
Closes-Bug: #1496000