notifier_kombu should not retry forever
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Erica Windisch | ||
Grizzly |
Fix Released
|
Medium
|
Erica Windisch |
Bug Description
There is a rabbit_max_retries option, but this is not working correctly.
First, the configvar is defined as a StrOpt. This means that the check against the integer retry_attempts will fail.
Secondly, rabbit_max_retries is tested as a boolean before comparing against retry_attempts. With the value 0, this would be false and the setting rabbit_
FYI - It turns out that this code is blocking. If notifications cannot be sent, if a RabbitMQ server cannot be reached, Glance will simply block on attempting to send notifications, while API requests timeout. As such, until that is rectified, having the max_retries functional is quite handy.
Changed in glance: | |
milestone: | none → grizzly-rc1 |
importance: | Undecided → Medium |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/23980
Review: https:/