Comment 17 for bug 1467000

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/19169
Committed: http://github.org/Juniper/contrail-controller/commit/e2815c2ed61e11b61eb39d54b27455a7fc16701b
Submitter: Zuul
Branch: R2.21.x

commit e2815c2ed61e11b61eb39d54b27455a7fc16701b
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
Change-Id: If609a17b97039932d06ab70b40fee6dbdee624f3
(cherry picked from commit eac29147c8613f03dde50b812ef852b686d87c93)
(cherry picked from commit 014e76f5a062995b98a461a304fd90a9a44b0d9e)