Bug 1169351 - Graph shows wrong values
Summary: Graph shows wrong values
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.0
Assignee: Milan Zázrivec
QA Contact: Milan Falešník
URL:
Whiteboard:
: 1183804 (view as bug list)
Depends On:
Blocks: 1171344
TreeView+ depends on / blocked
 
Reported: 2014-12-01 12:15 UTC by Milan Falešník
Modified: 2019-06-13 08:08 UTC (History)
7 users (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, the "Vendor and Guest OS" graph report showed different values than expected.This issue was being caused because every time the second sort field changed in a report, its nonblank counterpart did not change. This resulted in updating incorrect value in the 'counts' hash which led to incorrect charting numbers being returned. This issue was fixed by fixing counts in multi-dimensional charts. Counts are accurate in the chart, as expected, in the latest version of CloudForms Management Engine.
Clone Of:
: 1171344 (view as bug list)
Environment:
Last Closed: 2015-06-16 12:45:26 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Milan Falešník 2014-12-01 12:15:35 UTC
Description of problem:
When the report "Vendor and Guest OS" is run, the graph shows different valus than expected against the list.

Version-Release number of selected component (if applicable):
5.3.1.10


How reproducible:
always


Steps to Reproduce:
1. Add some providers (vSphere and RHEV-M)
2. I think the credentials of the hosts should be set up too but I am not sure about this point.
3. Run the 'Configuration Management/Virtual Machines/Vendor and Guest OS' report

Actual results:
The graph shows far less values (as it will be shown in the attachments)

Expected results:
The graph shows values that conform to the list.

Additional info:

Comment 4 Dave Johnson 2014-12-01 17:29:39 UTC
I am thinking this is a issue with the report.  We can see the provider data and its been collected.  Re-assigning to Dan for further investigation.  Dan, ping me if you need access to the environment.

Comment 6 Milan Zázrivec 2014-12-11 14:25:55 UTC
https://github.com/ManageIQ/manageiq/pull/1215

Comment 7 CFME Bot 2014-12-17 23:01:13 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/794ca1696b49d5a018d37c6ef0bf55c41459d963

commit 794ca1696b49d5a018d37c6ef0bf55c41459d963
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Dec 11 15:22:30 2014 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Thu Dec 11 15:45:27 2014 +0100

    Fix counts in multi-dimensional charts
    
    Whenever the second sort field changes, we need to change
    its nonblank counterpart accordingly, otherwise we'd be
    updating incorrect value in the 'counts' hash. That would
    lead to incorrect charting numbers being returned by
    the build_reporting_chart_dim2() method.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1169351

 vmdb/lib/report_formatter/chart_common.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 8 Jared Deubel 2015-01-22 18:37:58 UTC
*** Bug 1183804 has been marked as a duplicate of this bug. ***

Comment 10 Milan Falešník 2015-03-12 14:56:42 UTC
Waiting for error 'size of BinaryBlobPart id [26] is incorrect [report/tree_select]' to be resolved. Should be resolved in the next build.

Comment 11 Milan Falešník 2015-03-23 18:47:45 UTC
Checked in 5.4.0.0.12 against the "Guest OS Information - any OS" graph. The "vendor and Guest OS" showed some not-quite-sensible informations. So moving to VERIFIED but putting a needinfo and a screenshot for verification.

Comment 14 errata-xmlrpc 2015-06-16 12:45:26 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://rhn.redhat.com/errata/RHBA-2015-1100.html


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