Red Hat Bugzilla – Bug 1023622
Horizon UI reports incorrect value for VCPU usage.
Last modified: 2015-02-15 17:02:30 EST
Description of problem:
Horizon reports incorrect value for the number of vcpus being used.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. No specific steps. Attaching the screenshots
Horizon reports incorrect value for the number of VCPUs being used.
Horizon should report correct value for the number of VCPUs being used.
This bug was reported against 3.0 and only tested in 3.0.
Could you confirm which URL(s) are showing inconsistent numbers?
The screenshot attached to this bug report, horizon_inconsistent.png, shows the "Overview" page for the Admin dashboard (/dashboard/admin/), which is meant to show the state of the full system. The project dashboard (/dashboard/project/) on the other hand should only show the data for the selected 'Current project'.
For the numbers in themselves, Horizon normally displays what "nova usage" (for the project) and "nova usage-list" (for the admin view) returns: it would be helpful to also include the results for these commands in the report. Thank you.
Thank you for the additional information. It's confusing initially but the usage report displays historical data for the current month overall (as indicated by 'Select Current Month: October 2013'), up to the current day, and not what is the status right this moment. You can see a similar behaviour for the nova client command-line tool's output ("Usage from 2013-10-28 to 2013-11-26").
From Havana / RHOS 4.0 onwards it is possible to select a more precise date range via Horizon, down to a single day if desired which may help answer this kind of queries more precisely. As a workaround for now, start and end date can be specified in the nova client if needed (e.g. `nova usage-list --start 2013-10-01 --end 2013-10-31`).
Hope this helps to clarify things.
Closing based on the previous explanation.