nova/nova/servicegroup
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
..
drivers Fix service list for disabled compute using MC driver 2018-09-16 19:12:55 +00:00
__init__.py Fix IBM copyright strings 2013-03-01 14:18:23 -05:00
api.py Fix the display of updated_at time when using memcache driver. 2017-05-26 16:48:07 +08:00