nova/nova
Kevin_Zheng 3b17251da6 Fix service list for disabled compute using MC driver
In 0df91a7f79 a comparison
between ``updated_at`` field from services table and update time
from memcache was added if the servergroup_driver is set to be
mc.

This could be problematic if servergroup_driver=mc and
``[DEFAULT]/enable_new_services`` option in /etc/nova/nova.conf
is set to be ``False`` at the same time, as the ``updated_at``
field will always be ``Null`` in services record.

This patch fixes the bug by returning ``updated_time_in_mc`` instead
under the above mentioned scenario.

Closes-Bug: #1781880

Change-Id: I27160140cbccf3e6914aed2dcff54d547e446c1f
(cherry picked from commit 0f4e5c442c)
2018-09-16 19:12:55 +00:00
..
CA
api Handle HostMappingNotFound when deleting a compute service 2018-07-18 12:59:07 +00:00
cells Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
cmd Reload oslo_context after calling monkey_patch() 2018-08-06 18:17:19 +00:00
common
compute Wait for network-vif-plugged before starting live migration 2018-08-22 12:34:54 -04:00
conductor Add unshelve instance error info to fault table 2018-07-18 08:43:40 +08:00
conf Wait for network-vif-plugged before starting live migration 2018-08-22 12:34:54 -04:00
console Fix accumulated nits 2018-01-16 14:54:04 +00:00
consoleauth Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
db [Stable Only] Remove soft-deleted instances from quota_usages 2018-07-12 08:23:43 +00:00
hacking trivial: Rename 'policy_check' -> 'policy' 2017-10-25 17:56:40 +01:00
image Workaround glanceclient bug when CONF.glance.api_servers not set 2018-02-08 09:06:48 -05:00
ipv6
keymgr Remove deprecated keymgr code 2017-09-11 15:48:30 -04:00
locale Imported Translations from Zanata 2018-03-01 06:16:22 +00:00
network Handle network-changed event for a specific port 2018-06-28 00:16:33 +00:00
notifications Call generate_image_url only for legacy notification 2018-07-23 18:30:33 +02:00
objects Filter out instances without a host when populating AZ 2018-08-21 09:52:21 -04:00
pci Address nits in I46d483f9de6776db1b025f925890624e5e682ada 2018-01-02 15:57:50 +00:00
policies Add policy rule to block image-backed servers with 0 root disk flavor 2018-06-18 13:51:41 -04:00
privsep Update plugs Contrail methods to work with privsep 2018-02-21 15:48:04 -05:00
scheduler Merge "Disable limits if force_hosts or force_nodes is set" into stable/queens 2018-07-31 15:29:16 +00:00
servicegroup Fix service list for disabled compute using MC driver 2018-09-16 19:12:55 +00:00
tests Fix service list for disabled compute using MC driver 2018-09-16 19:12:55 +00:00
virt Merge "block_device: Rollback volumes to in-use on DeviceDetachFailed" into stable/queens 2018-08-23 20:17:11 +00:00
vnc
volume Use ksa session for cinder microversion check 2018-03-29 21:55:40 +00:00
__init__.py
availability_zones.py
baserpc.py
block_device.py Add uuid column to BlockDeviceMapping 2017-12-17 14:28:35 +00:00
cache_utils.py
config.py Set default of oslo.privsep.daemon logging to INFO level 2018-09-15 02:21:10 +00:00
context.py Allow cinderv2 endpoints within the request context catalog 2018-06-05 10:04:06 +01:00
crypto.py
debugger.py
exception.py [placement] Retry allocation writes server side 2018-08-03 14:41:15 +01:00
exception_wrapper.py
filters.py
hooks.py
i18n.py correct referenced url in comments 2018-01-18 09:16:37 +08:00
loadables.py
manager.py
policy.py
profiler.py
quota.py Fix server_group_members quota check 2018-07-11 15:04:34 -04:00
rpc.py Remove dead code of api.fault notification sending 2017-10-09 17:29:40 +02:00
safe_utils.py
service.py Enhance doc for nova services 2017-08-31 08:30:48 +08:00
service_auth.py Fix NoneType error when [service_user] is misconfigured 2017-11-28 12:22:30 -06:00
test.py Change consecutive build failure limit to a weigher 2018-06-07 07:17:51 -07:00
utils.py Merge "Handle TZ change in iso8601 >=0.1.12" 2018-01-31 00:36:50 +00:00
version.py
weights.py
wsgi.py