local_gb in hypervisor statistics is wrong when use rbd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
env:
two compute node(node-1,node-2)
node-4 as storage node
use ceph
Icehose
description:
#ceph -s
cluster 97cbee3f-
health HEALTH_OK
monmap e5: 3 mons at {node-1=
osdmap e153: 6 osds: 6 up, 6 in
pgmap v2543: 1216 pgs, 6 pools, 2792 MB data, 404 objects
5838 MB used, 11163 GB / 11168 GB avail
client io 0 B/s rd, 2463 B/s wr, 1 op/s
above totoal storage size is “ 11163 GB / 11168 GB”
but when get it through nova API,result as follow:
{"hypervisor_
"disk_available
reason:
I hava two compute node, all nodes report itself resource to controller node, due to each compute node get disk info of ceph cluster through rados client, so we will have double “disk_available