Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1358270 - cpu utilization charts on Host list dashboard doesn't match reported values [NEEDINFO]
cpu utilization charts on Host list dashboard doesn't match reported values
Status: CLOSED ERRATA
Product: Red Hat Storage Console
Classification: Red Hat
Component: UI (Show other bugs)
2
Unspecified Unspecified
unspecified Severity medium
: ---
: 2
Assigned To: kamlesh
sds-qe-bugs
:
Depends On:
Blocks: Console-2-Async
  Show dependency treegraph
 
Reported: 2016-07-20 08:05 EDT by Martin Bukatovic
Modified: 2016-10-19 11:20 EDT (History)
9 users (show)

See Also:
Fixed In Version: rhscon-ui-0.0.55-1.el7scon.noarch
Doc Type: Bug Fix
Doc Text:
Previously, in the Host List dashboard page, incorrect chart data was displayed in utilization charts. With this update, the chart displays correct data.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-10-19 11:20:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
asriram: needinfo? (kaverma)


Attachments (Terms of Use)
screenshot 1: host list dashboard page (88.87 KB, image/png)
2016-07-20 08:05 EDT, Martin Bukatovic
no flags Details
screenshot 2: Storage utilization charts reporting 90% (37.34 KB, image/png)
2016-07-20 08:55 EDT, Martin Bukatovic
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2082 normal SHIPPED_LIVE Moderate: Red Hat Storage Console 2 security and bug fix update 2017-04-18 15:29:02 EDT

  None (edit)
Description Martin Bukatovic 2016-07-20 08:05:57 EDT
Created attachment 1182089 [details]
screenshot 1: host list dashboard page

Description of problem
======================

Values plotted in donut utilization charts (memory, cpu utilization) on Host
list page doesn't match the actual value (which is shown in a numeric form as
well inside the chart itself).

Version-Release
=============== 

On RHSC 2.0 server machine:

rhscon-ui-0.0.48-1.el7scon.noarch
rhscon-core-selinux-0.0.34-1.el7scon.noarch
rhscon-ceph-0.0.33-1.el7scon.x86_64
rhscon-core-0.0.34-1.el7scon.x86_64
ceph-installer-1.0.14-1.el7scon.noarch
ceph-ansible-1.0.5-28.el7scon.noarch

On Ceph OSD machines:

rhscon-core-selinux-0.0.34-1.el7scon.noarch
rhscon-agent-0.0.15-1.el7scon.noarch
ceph-selinux-10.2.2-22.el7cp.x86_64
ceph-common-10.2.2-22.el7cp.x86_64
ceph-base-10.2.2-22.el7cp.x86_64
ceph-osd-10.2.2-22.el7cp.x86_64

How reproducible
================

100 %

Steps to Reproduce
==================

1. Install RHSC 2.0 following the documentation.
2. Accept few nodes for the ceph cluster.
3. Create new ceph cluster named 'alpha'.
4. On all ceph machines (of either OSD or MON roles), install stress tool.
5. Run `stress --cpu N` (where N is the number of cpu of particular machine),
   on all ceph machines.
6. Wait about 15 minutes for collecd and RHSC 2.0 to process and report new
   utilization state.
7. Go to Host list page and check donut charts for cpu utilization.

Actual results
==============

While the charts report actual utilization value (100 %), the value plotted
(graphical representation) in the donut charts itself doesn't match it, see
attached screenshot, where it looks like the value represented in donut
chart is about 50% instead of expected 100%.

Expected results
================

The both plotted value (graphical representation of value), and numeric value
should match and should read as 100%.
Comment 1 Martin Bukatovic 2016-07-20 08:28:49 EDT
Additional info
===============

Bear in mind that this is related to both CPU and Memory charts, as can be seen
in Memory chart of the first machine, where the number reads 21.2% while the
graphical representation looks like 14% instead.
Comment 2 Martin Bukatovic 2016-07-20 08:55 EDT
Created attachment 1182110 [details]
screenshot 2: Storage utilization charts reporting 90%

On the other hand, Storage utilization chart seems to be working, see attached
screenshot 2.
Comment 3 Ju Lim 2016-07-20 10:09:30 EDT
The donut charts do not appear to follow the PatternFly guidelines.  See https://www.patternfly.org/pattern-library/data-visualization/donut-chart/#/_overview (there's also the code for it at https://www.patternfly.org/pattern-library/data-visualization/donut-chart/#/_code).

Note: Utilization shown on donut should start at the 12 o'clock position and moves clockwise.
Comment 7 Filip Balák 2016-09-21 11:21:31 EDT
Tested with
Server:
ceph-ansible-1.0.5-32.el7scon.noarch
ceph-installer-1.0.15-2.el7scon.noarch
graphite-web-0.9.12-8.1.el7.noarch
rhscon-ceph-0.0.41-1.el7scon.x86_64
rhscon-core-selinux-0.0.42-1.el7scon.noarch
rhscon-core-0.0.42-1.el7scon.x86_64
rhscon-ui-0.0.55-1.el7scon.noarch

Node:
calamari-server-1.4.8-1.el7cp.x86_64
ceph-base-10.2.2-41.el7cp.x86_64
ceph-common-10.2.2-41.el7cp.x86_64
ceph-mon-10.2.2-41.el7cp.x86_64
ceph-osd-10.2.2-41.el7cp.x86_64
ceph-selinux-10.2.2-41.el7cp.x86_64
libcephfs1-10.2.2-41.el7cp.x86_64
python-cephfs-10.2.2-41.el7cp.x86_64
rhscon-agent-0.0.19-1.el7scon.noarch
rhscon-core-selinux-0.0.42-1.el7scon.noarch

and it works as it is expected. --> Verified
Comment 9 errata-xmlrpc 2016-10-19 11:20:34 EDT
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/RHSA-2016:2082

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