config-resilience: Handle all rabbitmq producer/consumer reconnects
Improve connection handling with rabbit such that
1. The producer and consumer greenlets never die
2. Use context manager for semaphore and handle fail while wait
3. Log appropriately on these events.
Add unit tests to excercise these paths.
Closes-Bug: #1467000
Change-Id: If609a17b97039932d06ab70b40fee6dbdee624f3
(cherry picked from commit eac29147c8613f03dde50b812ef852b686d87c93)
Reviewed: https:/ /review. opencontrail. org/13252 github. org/Juniper/ contrail- controller/ commit/ 86357f8532c1587 55a326a19919df6 d686dd1b38
Committed: http://
Submitter: Zuul
Branch: R2.22-dev
commit 86357f8532c1587 55a326a19919df6 d686dd1b38
Author: Hampapur Ajay <email address hidden>
Date: Thu Jul 23 10:05:14 2015 -0700
config-resilience: Handle all rabbitmq producer/consumer reconnects
Improve connection handling with rabbit such that
1. The producer and consumer greenlets never die
2. Use context manager for semaphore and handle fail while wait
3. Log appropriately on these events.
Add unit tests to excercise these paths.
Closes-Bug: #1467000 32d06ab70b40fee 6dbdee624f3 3dde50b812ef852 b686d87c93)
Change-Id: If609a17b970399
(cherry picked from commit eac29147c8613f0