Bug 1171344

Summary: Graph shows wrong values
Product: Red Hat CloudForms Management Engine Reporter: Dave Johnson <dajohnso>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.3.0CC: dclarizi, gblomqui, mfalesni, mfeifer, mzazrivec, nachandr
Target Milestone: GAKeywords: ZStream
Target Release: 5.3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.3.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1169351 Environment:
Last Closed: 2015-02-25 16:11:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1169351    
Bug Blocks:    

Comment 1 Milan Zázrivec 2015-01-09 13:29:50 UTC
cfme.git 5.3.z: 34ae5a09e2e01b17135a10cde5b82c42b2aac8b7

Comment 2 CFME Bot 2015-01-09 13:31:17 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=34ae5a09e2e01b17135a10cde5b82c42b2aac8b7

commit 34ae5a09e2e01b17135a10cde5b82c42b2aac8b7
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Dec 11 15:22:30 2014 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Fri Jan 9 14:22:33 2015 +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=1171344
    (cherry picked from commit 794ca1696b49d5a018d37c6ef0bf55c41459d963)

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

Comment 4 Nandini Chandra 2015-02-05 01:18:34 UTC
Verified in 5.3.3 that the VM/Instance count for a vendor in the 'Vendor and guest OS' chart tallies with the VM/Instance count in the Vendor and guest OS report.

Comment 6 errata-xmlrpc 2015-02-25 16:11:46 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-0261.html