Bug 1337657 - Chargeback reports contain no data when rates are assigned to Tenants
Summary: Chargeback reports contain no data when rates are assigned to Tenants
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.6.0
Assignee: Tim Wade
QA Contact: Nandini Chandra
URL:
Whiteboard: report:chargeback
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-19 18:23 UTC by Nandini Chandra
Modified: 2017-10-10 18:16 UTC (History)
7 users (show)

Fixed In Version: 5.6.0.9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 16:04:31 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-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Nandini Chandra 2016-05-19 18:23:12 UTC
Description of problem:
----------------------



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


How reproducible:
----------------
Always


Steps to Reproduce:
------------------
1.Manage a provider.Enable C&U collection for the provider.
2.Assign a chargeback rate to a tenant.In this case, I assigned the rate to the OOTB tenant, My Company.
3.Create a chargeback report. 


Actual results:
--------------
Chargeback reports contain no data when rates are assigned to Tenants.


Expected results:
----------------
Chargeback reports contain should contain data when rates are assigned to Tenants.


Additional info:
-----------------
I have no issues generating Chargeback reports when the rate is assigned to Enterprise.

Comment 4 CFME Bot 2016-05-31 13:15:52 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/3ca68f68e071a1a4b208f8a315b9064b18c7ec86

commit 3ca68f68e071a1a4b208f8a315b9064b18c7ec86
Author:     lpichler <lpichler>
AuthorDate: Fri May 27 11:05:03 2016 +0200
Commit:     lpichler <lpichler>
CommitDate: Tue May 31 12:52:56 2016 +0200

    Add owner's tenant of MetricRollup#resource for matching assigned chargeback rate
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1337657

 app/models/chargeback.rb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comment 5 Nandini Chandra 2016-06-09 13:34:10 UTC
Verified in  5.6.0.9

Comment 8 errata-xmlrpc 2016-06-29 16:04:31 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-2016:1348


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