Comment 19 for bug 1510916

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/ceilometer (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/13640
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: 198da766de4d39fabd1ba52a80e1dfa4aeb2f5d6
Author: Nadya Shakhat <email address hidden>
Date: Wed Nov 11 19:00:21 2015

Have eventlet monkeypatch the time module

Without this, mongod retry logic in the various services started as
commands fails to behave as expected and does not reconnect as soon as
the mongod service has returned to availability.

In addition to the mongod sleep there are two other time.sleep calls
that may be reached by this change. Review and discussion with others
indicates that their behavior will continue to be correct with the
monkeypatch in place.

Cherry-pick from https://review.openstack.org/#/c/176751/
Closes-Bug: 1510916

Change-Id: I899066be6f65b8c8a202e3d994c5b81533e5a5e4