Bug 1583786

Summary: chargeback reports based on vms with tags assigned show no records on generation
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Libor Pichler <lpichler>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, fdewaley, gekis, jrafanie, lpichler, nachandr, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.9.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1581724 Environment:
Last Closed: 2018-07-12 13:15:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1581724    
Bug Blocks:    

Comment 2 CFME Bot 2018-05-29 17:14:12 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/ebd3779c686660a4aa15c991fe5ba228d7a5c65e
commit ebd3779c686660a4aa15c991fe5ba228d7a5c65e
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Fri May 25 11:22:58 2018 -0400
Commit:     Joe Rafaniello <jrafanie.github.com>
CommitDate: Fri May 25 11:22:58 2018 -0400

    Merge pull request #17470 from lpichler/filter_chargeback_according_to_current_tags

    Use current tags for filtering resources in chargeback for VMs
    (cherry picked from commit 1a2a40f1d6b111f9f1e85e7e568263c32cd624b2)

    https://bugzilla.redhat.com/show_bug.cgi?id=1583786

 app/models/chargeback/consumption_with_rollups.rb | 2 +-
 app/models/chargeback_vm.rb | 3 +-
 app/models/metric/chargeback_helper.rb | 14 +-
 spec/models/chargeback_vm_spec.rb | 24 +-
 4 files changed, 38 insertions(+), 5 deletions(-)

Comment 8 Nandini Chandra 2018-06-15 16:31:38 UTC
Verified in 5.9.3.1

Comment 10 errata-xmlrpc 2018-07-12 13:15:30 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/RHSA-2018:2184