Bug 1505415

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: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: dajohnso, gblomqui, jfrey, jhardy, nachandr, obarenbo, rspagnol, simaishi, tpapaioa
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: c&u
Fixed In Version: 5.8.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1463165 Environment:
Last Closed: 2018-02-28 13:06:47 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-11-13 21:41:17 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/5702efb5e85650bbd506b7178138d928ab2e3c2c

commit 5702efb5e85650bbd506b7178138d928ab2e3c2c
Author:     Adam Grare <agrare>
AuthorDate: Fri Oct 13 09:32:10 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Nov 13 16:34:04 2017 -0500

    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=1505415

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

Comment 3 Nandini Chandra 2018-01-17 19:39:12 UTC
Verified in 5.8.3.1

Comment 6 errata-xmlrpc 2018-02-28 13:06:47 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:0374

Comment 7 Yuri Rudman 2018-07-31 11:20:35 UTC
*** Bug 1607572 has been marked as a duplicate of this bug. ***