Bug 1360403

Summary: dashboard: '-1' is show in CPU utilization (initially, then it goes to 0)
Product: [oVirt] ovirt-engine-dashboard Reporter: Yaniv Kaul <ykaul>
Component: GeneralAssignee: Vojtech Szocs <vszocs>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: awels, lsvaty, oourfali
Target Milestone: ovirt-4.0.2Flags: rule-engine: ovirt-4.0.z+
rule-engine: exception+
rule-engine: planning_ack+
oourfali: devel_ack+
lsvaty: testing_ack+
Target Release: 1.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-12 14:23:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
cpu at -1 none

Description Yaniv Kaul 2016-07-26 15:36:37 UTC
Created attachment 1184314 [details]
cpu at -1

Description of problem:
See screenshot - unknown cause. Seen while running Lago, master mainly, multiple times.


Version-Release number of selected component (if applicable):
4.1/4.0.

How reproducible:
?

Comment 1 Alexander Wels 2016-07-26 15:41:28 UTC
Basically it is possible for the ETL from the DWH to report > 0 usage of the CPU while report 0 total CPU. This would cause the -1 for available since that is simply total - used.

Comment 2 Vojtech Szocs 2016-07-26 16:27:28 UTC
Fixed on client side too by checking used vs. total for all types of utilization data (CPU, memory, storage).

Comment 5 Lucie Leistnerova 2016-08-09 12:48:08 UTC
could not reproduce, so it seems OK

verified in ovirt-engine-dashboard-1.0.2-1.el7ev.x86_64