Bug 1505417

Summary: Records with duplicate timestamp in metrics rollup table
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: James Wong <jwong>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: dajohnso, gblomqui, jfrey, jhardy, nachandr, obarenbo, simaishi, tpapaioa
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: c&u
Fixed In Version: 5.7.4.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1463165 Environment:
Last Closed: 2017-12-18 20:30:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: VMware Target Upstream Version:
Embargoed:
Bug Depends On: 1463165    
Bug Blocks:    

Comment 2 CFME Bot 2017-10-23 15:51:02 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/76255e3f57ecc6e78e7361b95b430a8602719380

commit 76255e3f57ecc6e78e7361b95b430a8602719380
Author:     Adam Grare <agrare>
AuthorDate: Fri Oct 13 09:32:10 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Oct 23 11:45:16 2017 -0400

    Merge pull request #16166 from jameswnl/dedup
    
    Remove duplicate metric_rollups not dealing with active relation
    (cherry picked from commit 15e48b8e96c1aa28e5f91fa67035d14e0c98baf9)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1505417

 app/models/metric/helper.rb       | 2 +-
 spec/models/metric/helper_spec.rb | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

Comment 3 Tasos Papaioannou 2017-11-28 18:48:55 UTC
Verified on 5.7.4.1.

Comment 6 errata-xmlrpc 2017-12-18 20:30: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://access.redhat.com/errata/RHSA-2017:3484