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/13809 ci/fuel- 5.1-updates/ 2014.1. 1
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 3d52f3002ba79ca 0fd42139fd66bc1 944ce4c6cf
Author: Nadya Shakhat <email address hidden>
Date: Wed Nov 11 11:39:19 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: I55b625fb5b817d f45722abf6c3832 5b3c785fc34