Bug 1441244

Summary: CFME collects C&U metrics even before resource creation
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Šimon Lukašík <slukasik>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, dajohnso, gblomqui, jhardy, obarenbo, simaishi, slukasik
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: c&u
Fixed In Version: 5.8.0.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1433984 Environment:
Last Closed: 2017-05-31 14:51:32 UTC Type: ---
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: 1433984    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-11 13:36:06 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/6c6e5c10dd77c598b0c58e1bda3a7ff830746f71

commit 6c6e5c10dd77c598b0c58e1bda3a7ff830746f71
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Apr 10 09:25:22 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Apr 11 09:34:32 2017 -0400

    Merge pull request #14666 from isimluk/metrics-time
    
    Charge since the first MetricRollup
    (cherry picked from commit e43ccabaddc886bdeff4d0e8f91bc557ad3ac3fc)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1441244

 app/models/chargeback/consumption.rb              | 6 +++++-
 app/models/chargeback/consumption_with_rollups.rb | 5 +++++
 2 files changed, 10 insertions(+), 1 deletion(-)

Comment 3 Šimon Lukašík 2017-04-12 08:35:02 UTC
Sorry for the status churn. I got confused.

Comment 4 Nandini Chandra 2017-04-25 22:51:34 UTC
Verified in 5.8.0.11

Comment 6 errata-xmlrpc 2017-05-31 14:51:32 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-2017:1367