Bug 1527695 - Virtual Machine CPU States chart is not correct when some numbers are 0
Summary: Virtual Machine CPU States chart is not correct when some numbers are 0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Robin Knaur
QA Contact: Nandini Chandra
URL:
Whiteboard:
: 1527694 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-19 23:31 UTC by Yuri Rudman
Modified: 2019-12-12 13:33 UTC (History)
7 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:33:21 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
good1 (63.76 KB, image/png)
2017-12-19 23:33 UTC, Yuri Rudman
no flags Details
good2 (57.11 KB, image/png)
2017-12-19 23:34 UTC, Yuri Rudman
no flags Details
broken (63.05 KB, image/png)
2017-12-19 23:35 UTC, Yuri Rudman
no flags Details
DB dump (13.38 MB, application/octet-stream)
2017-12-19 23:37 UTC, Yuri Rudman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:33:36 UTC

Description Yuri Rudman 2017-12-19 23:31:32 UTC
Description of problem:

'Virtual Machine CPU States' chart does not work correctly when some numbers are 0. 
1. When both metric are shown - red line for 12/01-12/11 should be 0
2. '% Used' show different data for 12/15-12/18 if shown alone vs together with '%bReady'
Note: tooltips are correct in both cases.


Steps to reproduce:
1. Navigate to VM named "cu-24x7"
2. Monitoring -> Utilization
3. Change 'Show' to 3 weeks

Comment 2 Yuri Rudman 2017-12-19 23:33:11 UTC
Created attachment 1370185 [details]
good1

Comment 3 Yuri Rudman 2017-12-19 23:34:20 UTC
Created attachment 1370186 [details]
good2

Comment 4 Yuri Rudman 2017-12-19 23:35:05 UTC
Created attachment 1370187 [details]
broken

Comment 5 Yuri Rudman 2017-12-19 23:37:05 UTC
Created attachment 1370188 [details]
DB dump

Comment 6 Sudhir Mallamprabhakara 2017-12-20 14:36:50 UTC
*** Bug 1527694 has been marked as a duplicate of this bug. ***

Comment 9 Robin Knaur 2019-01-07 12:46:53 UTC
I was able to reproduce it. I am pretty sure that the data are correct. The 'Virtual Machine CPU States' chart is using Stacked Area chart, that should behave exactly like this. It aggregates the individual values.

I agree that this is not intuitive, so I can replace Stacked Area charts for Area charts in the definitions that would not aggregate values.

Comment 10 Robin Knaur 2019-01-07 12:59:50 UTC
https://github.com/ManageIQ/manageiq/pull/18333

Comment 12 Nandini Chandra 2019-07-03 20:02:28 UTC
Verified in 5.11.0.10

Comment 14 errata-xmlrpc 2019-12-12 13:33:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4199


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