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.
Reviewed: https:/ /review. fuel-infra. org/13639 ci/fuel- 6.0-updates/ 2014.2
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: f1706650385424f 96683eac24ae443 5aa510299f
Author: Nadya Shakhat <email address hidden>
Date: Wed Nov 11 19:07:42 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: I3cca717ab83a31 ebbfb0b639e5d83 90e59821505