Comment 7 for bug 1917645

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Thanks for the GMR it is helpful. I can confirm from the code that the retry is only applied for the message sending but not for connection establishment. The connection establishment is done purely inside kombu[1], but oslo_messaging does not pass any timeout value[2] so kombu retries forever.

[1] https://github.com/celery/kombu/blob/be44a0401417c868a1ef59e44cc57c12c987cd50/kombu/connection.py#L438
[2] https://github.com/openstack/oslo.messaging/blob/feb72de7b81e3919dedc697f9fb5484a92f85ad8/oslo_messaging/_drivers/impl_rabbit.py#L731