Comment 0 for bug 1691039

Revision history for this message
sreeteja (sreeteja) wrote : The metrics shown under Hypervisor overview are shown incorrectly

This regarding the openstack hypervisor show <HOST NAME>
so this is expected to display the host metrics like memory used and maximum memory limit..
but it is not doing so here
https://github.com/openstack/nova-dpm/blob/cb0074b90e432ffcb3c971576cfda65d84d855dc/nova_dpm/virt/dpm/host.py#L53
it is just taking this as max_memory and not checking if this is been less than memory_used
https://github.com/openstack/nova-dpm/blob/cb0074b90e432ffcb3c971576cfda65d84d855dc/nova_dpm/virt/dpm/host.py#L113
so it is showing something like 2.5GB used out of 2GB
MAy be I think we should add some lines which chcks these condition and then display the hypervisor stats