Nova hypervisor-stats returns wrong data
Bug #1326147 reported by
David Hill
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
When a node is disabled or down "nova hypervisor-stats" returns the total number of memory and vcpus even though that node is disabled or down.
It's not quite a bug, perhaps a wishlist entry but I would have expect the nova-hypervisor
tags: | added: nova nova-manage |
Changed in nova: | |
importance: | Undecided → Wishlist |
Changed in nova: | |
status: | New → Confirmed |
tags: |
added: compute removed: nova nova-manage |
To post a comment you must log in.
The statistics is directly got from db: https:/ /github. com/openstack/ nova/blob/ master/ nova/db/ sqlalchemy/ api.py# L671, and i didn't find models.ComputeNode has any fields to identify the hypervisor status as the bug report description, so the problem is how to identify the hypervisor status ?