Skip to content

Conversation

@arnaudmorin
Copy link

In oslo.messaging error callback (named _recoverable_error_callback), the code is raising an TimeoutError, which is preventing continuation of the retry in some situation.
This quick fix switch the selection of next host (cycle) before calling the error callback. Then, on next ensure_connection, the new host is selected and we expect it to work correctly :)

See: lp-2096926

In oslo.messaging error callback (named _recoverable_error_callback),
the code is raising an TimeoutError, which is preventing continuation of
the retry in some situation.
This quick fix switch the selection of next host (cycle) before calling
the error callback. Then, on next ensure_connection, the new host is
selected and we expect it to work correctly :)

See: lp-2096926

Signed-off-by: Arnaud Morin <[email protected]>
Copy link
Member

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add tests for this change proposed?

@auvipy
Copy link
Member

auvipy commented Jul 8, 2025

what about merging the changes of 2 separate pr in a single one?

@auvipy auvipy added this to the 5.7.0 milestone Jul 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants