Bug 1337606 - Global utilization: wrong initial values for available & total amount of CPU/Memory/Storage
Summary: Global utilization: wrong initial values for available & total amount of CPU/...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-dashboard
Classification: oVirt
Component: Core
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.0.0-rc
: 1.0.0
Assignee: Alexander Wels
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks: ovirt_system_dashboards
TreeView+ depends on / blocked
 
Reported: 2016-05-19 15:26 UTC by Pavel Novotny
Modified: 2016-07-05 08:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 08:04:19 UTC
oVirt Team: UX
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
oourfali: devel_ack+
pnovotny: testing_ack+


Attachments (Terms of Use)
Dashboard - wrong Global utilization with 0 hosts & storages (102.07 KB, image/png)
2016-05-19 15:26 UTC, Pavel Novotny
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 58092 0 None MERGED Dashboard: Fix display issue in CPU DonutChart 2020-11-09 16:19:30 UTC
oVirt gerrit 58093 0 master MERGED Dashboard: no hosts 2020-11-09 16:19:48 UTC
oVirt gerrit 58097 0 ovirt-engine-4.0 MERGED Dashboard: no hosts 2020-11-09 16:19:30 UTC

Description Pavel Novotny 2016-05-19 15:26:26 UTC
Created attachment 1159529 [details]
Dashboard - wrong Global utilization with 0 hosts & storages

Description of problem:
After fresh installation of engine with Dashboard,
the available and total amount of CPU/Memory/Storage shows 100%/1 GB/1 TB.
When there is no host or storage present yet, all should be 0 %/GB/TB.


Version-Release number of selected component (if applicable):
ovirt-engine-dashboard-0.0.1-0.0.20160511git4debbb1.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Have a fresh installation of ovirt-engine & ovirt-engine-dashboard
   (Make sure you have no hosts or storages there.)
2. Log into Webadmin and go to Dashboard tab (should be default).
3. In Global utilization, check values for available and total CPU, Memory and Storage.

Actual results:
CPU: 100% Available of 100%
Memory: 1 Available of 1 GB
Storage: 1 Available of 1 TB
See attached screenshot.

Expected results:
CPU: 0% Available of 0%
Memory: 0 Available of 0 GB
Storage: 0 Available of 0 TB

Additional info:

Comment 1 Yaniv Lavi 2016-05-23 13:26:03 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 2 Yaniv Lavi 2016-05-23 13:26:26 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 3 Pavel Novotny 2016-06-24 13:30:30 UTC
Verified in 
ovirt-engine-dashboard-1.0.0-20160615git43298a4.el7ev.x86_64
rhevm-4.0.0.6-0.1.el7ev.noarch (build 4.0.0-19).

After a fresh installation of RHEV-M (or after all hosts, storages & VMs are removed), the values in Global Utilization are reported as follows:

CPU: 0% Available of 0% / donut: 0% Used
Memory: 0 Available of 0 GB / donut: 0 GB Used
Storage: 0 Available of 0 TB / donut: 0 TB Used

Comment 4 Sandro Bonazzola 2016-07-05 08:04:19 UTC
oVirt 4.0.0 has been released, closing current release.


Note You need to log in before you can comment on or make changes to this bug.