nova show returns wrong hypervisor_hostname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Jian Wen |
Bug Description
Related table info:
mysql> select id, host, disabled from services;
+----+-
| id | host | disabled |
+----+-
| 1 | ivan-dev0 | 0 |
| 2 | ivan-dev0 | 0 |
| 3 | ivan-dev0 | 0 |
| 4 | ivan-dev0 | 0 |
| 5 | ivan-dev0 | 0 |
| 6 | ivan-dev2 | 0 |
| 7 | ivan-dev2 | 1 |
| 8 | ivan-dev2 | 1 |
+----+-
8 rows in set (0.00 sec)
mysql> select id, hypervisor_
+----+-
| id | hypervisor_hostname | service_id |
+----+-
| 1 | ivan-dev0 | 1 |
| 3 | ivan-dev2 | 6 |
+----+-
2 rows in set (0.00 sec)
Now we try to call db.compute_
compute_node = db.compute_
# expect the print below outputs "ivan-dev2"
print compute_
ivan-dev0
# but the output is "ivan-dev0"
Changed in nova: | |
assignee: | nobody → Sina Web Service Dev (sws) |
Fix proposed to branch: master /review. openstack. org/12292
Review: https:/