Bug 1333096

Summary: perf_capture_time method resulting in the failure to schedule C&U capture
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: PerformanceAssignee: Keenan Brock <kbrock>
Status: CLOSED DUPLICATE QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, dajohnso, jhardy, kbrock, kmorey, ldomb, nachandr, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: c&u
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1331803 Environment:
Last Closed: 2016-05-18 17:23:47 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: 1331803    
Bug Blocks:    

Comment 1 Keenan Brock 2016-05-18 17:23:47 UTC
See patches in https://bugzilla.redhat.com/show_bug.cgi?id=1333095
and associated parent bz: https://bugzilla.redhat.com/show_bug.cgi?id=1332579

*** This bug has been marked as a duplicate of bug 1333095 ***

Comment 2 CFME Bot 2016-06-14 15:41:40 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=8dd4da69eafd4e015e163a70c7fc24438d8cc466

commit 8dd4da69eafd4e015e163a70c7fc24438d8cc466
Author:     Keenan Brock <kbrock>
AuthorDate: Wed May 18 10:51:09 2016 -0400
Commit:     Keenan Brock <kbrock>
CommitDate: Wed May 18 11:57:31 2016 -0400

    Cap&U: don't capture vms that have no ems
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1333096
    
    The error:
    
    [NoMethodError]: undefined method `metrics_collector_queue_name'
    for nil:NilClass  Method:[rescue in deliver]
    
    This has been fixed on master across a number of PRs.
    It is too invasive to back port these changes to 5.5.
    So this is a temporary fix that will fix the problem but will
    not get the performance advantages of those on master.
    
    Master has these instead: #8429 #8363 (and probably others)

 app/models/metric/targets.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)