nova/nova
Roman Podoliaka a7505ee648 Make eventlet hub use a monotonic clock
If system time is adjusted first forward and then backward while a
nova service is running (e.g. nova-compute), then there is a high
probability, that periodic tasks will stop for the duration of time
the system clock was adjusted backward.

This was supposed to be fixed by the following patch to oslo.service
https://review.openstack.org/#/c/286838/ , but the order of imports
in unit tests and production code is different, so nova services
end up starting with the default eventlet hub, that does not use a
monotonic clock and, thus, is affected by changes of system time.

Testing this is problematic, as it's a subject of imports order and
is not reproduced in functional or unit tests (oslo_service is always
imported earlier than eventlet hub is initialized, so it just does
"the right thing"). The alternative is to make an assertion when
services start.

Closes-Bug: #1510234

Change-Id: I110cf31ad2a0c74a0cf30ec08bd94d3a56727b39
2017-02-15 16:47:42 +02:00
..
CA
api Merge "Add uuid to migration object and migrate-on-load" 2017-09-06 06:19:21 +00:00
cells Merge "Handle uuids in os-hypervisors API" 2017-07-20 01:03:27 +00:00
cmd Merge "Fix ValueError if invalid max_rows passed to db purge" 2017-09-06 13:28:39 +00:00
common
compute Merge "Fix scope of errors_out_migration in finish_resize" 2017-09-05 06:46:42 +00:00
conductor Refactor LiveMigrationTask._find_destination 2017-08-30 14:24:52 -04:00
conf Change default for [notifications]/default_publisher_id to $host 2017-08-25 18:54:35 -04:00
console Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
consoleauth Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
db Merge "Add uuid online migration for migrations" 2017-09-06 06:40:14 +00:00
hacking Remove unused variable 2017-06-12 18:19:57 +07:00
image Remove translation of log messages 2017-07-18 09:03:39 +00:00
ipv6
keymgr Merge "Remove translation of log messages" 2017-08-15 21:10:02 +00:00
locale Imported Translations from Zanata 2017-08-10 11:34:33 +00:00
network Merge "Remove plug_ovs_hybrid, unplug_ovs_hybrid" 2017-09-04 19:08:38 +00:00
notifications Merge "Use enum value instead of string service name" 2017-08-28 21:23:41 +00:00
objects Merge "Add uuid to migration object and migrate-on-load" 2017-09-06 06:19:21 +00:00
pci [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
policies Merge "Add policy granularity to the Flavors API" 2017-08-10 11:47:12 +00:00
scheduler Merge "Add missing unit tests for FilterScheduler._get_all_host_states" 2017-09-06 07:54:18 +00:00
servicegroup iso8601.is8601.Utc No Longer Exists 2017-08-29 19:26:55 -04:00
tests Merge "Hyper-V: Perform proper cleanup after cold migration" 2017-09-06 12:39:47 +00:00
virt Merge "Hyper-V: Perform proper cleanup after cold migration" 2017-09-06 12:39:47 +00:00
vnc
volume Translate the return value of attachment_create and _update 2017-07-25 21:16:03 -04:00
__init__.py Make eventlet hub use a monotonic clock 2017-02-15 16:47:42 +02:00
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py db: Add attachment_id to block_device_mapping 2017-03-16 15:26:33 -04:00
cache_utils.py remove log translation tags from nova.cells 2017-04-10 14:48:07 +00:00
config.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
context.py Add scatter gather utilities for cells 2017-06-29 19:41:20 +00:00
crypto.py
debugger.py
exception.py [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
exception_wrapper.py rename binary to source in versioned notifications 2017-07-25 17:36:04 +02:00
filters.py
hooks.py
i18n.py
loadables.py
manager.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
policy.py Add policy granularity to the Flavors API 2017-07-19 15:56:47 -04:00
profiler.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
quota.py Merge "Enhancement comments on CountableResource" 2017-08-15 20:32:19 +00:00
rpc.py Replace messaging.get_transport with get_rpc_transport 2017-06-05 15:05:29 -04:00
safe_utils.py Allow wrapping of closures 2017-07-20 10:07:52 +01:00
service.py Make eventlet hub use a monotonic clock 2017-02-15 16:47:42 +02:00
service_auth.py Add service_token for nova-cinder interaction 2017-01-11 15:49:16 +00:00
test.py Merge "Improve assertJsonEqual error reporting" 2017-08-29 06:10:25 +00:00
utils.py Deprecate CONF.monkey_patch 2017-08-25 18:47:47 -04:00
version.py
weights.py Correct some spelling errors 2017-02-25 02:45:30 +00:00
wsgi.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00