‘nova service-list’ can‘t get the latest Updated_at time when using mc driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Tao Li |
Bug Description
Description
===========
When using mc driver(set servicegroup_
[root@dfcontroller1 ~]# nova service-list
+-----+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+-----+
| 157 | nova-scheduler | dfcontroller1 | internal | enabled | up | 2016-12-
| 161 | nova-scheduler | dfcontroller2 | internal | enabled | up | 2016-12-
| 163 | nova-conductor | dfcontroller1 | internal | enabled | up | 2016-12-
| 164 | nova-conductor | dfcontroller2 | internal | enabled | up | 2016-12-
| 187 | nova-consoleauth | dfcontroller1 | internal | enabled | up | 2016-12-
| 188 | nova-consoleauth | dfcontroller2 | internal | enabled | up | 2016-12-
| 194 | nova-rs | dfcontroller2 | internal | enabled | up | 2016-12-
| 197 | nova-haservice | dfcontroller2 | internal | enabled | up | 2016-12-
| 199 | nova-haservice | dfcontroller1 | internal | enabled | down | 2016-12-
| 202 | nova-rs | dfcontroller1 | internal | enabled | down | 2016-12-
| 205 | nova-compute | dfcompute1 | az_ip | enabled | up | 2016-12-
| 208 | nova-compute | dfcompute3 | az_ip | enabled | up | 2016-12-
| 211 | nova-compute | dfcompute2 | az_ip | enabled | up | 2016-12-
+-----+
Steps to reproduce
==================
1. modify the nova.conf file to set servicegroup_driver to mc。
2. restart nova-compute,
3. wait for 10min or more, you'll watch the 'update_at' remians the same time.
Expected result
===============
The 'update_at' display the latest time as using db driver.
Actual result
=============
The 'update_at' remains not like using db driver.
Changed in nova: | |
assignee: | nobody → Tao Li (eric-litao) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in nova: | |
status: | Confirmed → In Progress |
Fix proposed to branch: master /review. openstack. org/414463
Review: https:/