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.
Reviewed: https:/ /review. fuel-infra. org/12417 ci/fuel- 7.0/2015. 1.0
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 318c0f14ca00c96 127aabd7c9773f0 18bec8dcde
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. retry_uncaught_ exceptions fails with exception,
As a result, forever_
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: I415a0f49b25b80 a264f0bc951f4b9 26d57a9c9a8
Closes-Bug: #1496000