nova hypervisor-stats shows wrong disk usage with shared storage
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenStack Compute (nova) |
Confirmed
|
Wishlist
|
Unassigned | ||
Bug Description
While using ceph as backend , each compute node reports its disk usage with total backend pool disk usage, this makes sense to caculate incoming resource request like booting a new instance or migrating instance to this compute node.
SEE https:/
but while get hypervisor-stats, we sum all the compute nodes's disk usage, that doesn't make sense for ceph backend.
That will show that disk usage = {actual disk usage} * {number of compuet node}
https:/
what will handle this case ?
take average value of disk usage of each compute node instead while using ceph ?
| Changed in nova: | |
| importance: | Undecided → Low |
| Changed in nova: | |
| status: | In Progress → Confirmed |
| tags: | added: ceph |
| Changed in nova: | |
| assignee: | nobody → Tao Li (eric-litao) |
| Changed in nova: | |
| assignee: | Tao Li (eric-litao) → nobody |
| Changed in nova: | |
| assignee: | nobody → huanhongda (hongda) |
| status: | Confirmed → In Progress |
| Changed in nova: | |
| status: | In Progress → Confirmed |
| importance: | Low → Wishlist |
| assignee: | huanhongda (hongda) → nobody |

I think this also hit on other shared storage like NFS