Bug 1444516

Summary: Embedded tower event catcher collect not working
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Marcel Hild <mhild>
Status: CLOSED ERRATA QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, cpelland, jfrey, jhardy, mhild, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible_embed
Fixed In Version: 5.8.0.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1438723 Environment:
Last Closed: 2017-05-31 14:57:44 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: 1438723    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-24 13:56:27 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/4d176bbe03790bab1b47c69c549b13fbc286f904

commit 4d176bbe03790bab1b47c69c549b13fbc286f904
Author:     Greg Blomquist <blomquisg>
AuthorDate: Thu Apr 6 10:24:29 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Apr 24 09:52:53 2017 -0400

    Merge pull request #14645 from durandom/ansible_event_catcher
    
    ansible event catcher: fetch activity_stream by event id
    (cherry picked from commit 1589a3c2657d76b74e62c539d1bc023a3463c969)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1444516

 .../automation_manager/event_catcher/stream.rb     |  27 ++-
 .../automation_manager/event_catcher/stream.rb     |  64 +------
 .../automation_manager/event_catcher/stream.yml    | 184 ++++++++++++++++-----
 3 files changed, 169 insertions(+), 106 deletions(-)

Comment 3 luke couzens 2017-04-26 10:10:39 UTC
Verified in 5.8.0.12

Both EventStream.group(:source).count and EventStream.where("source" => 'EMBEDDEDANSIBLE').count are now incrementing after running playbooks.

Comment 4 Marcel Hild 2017-04-26 12:49:21 UTC
Hooray... this has been a long way coming. Thanks

Comment 6 errata-xmlrpc 2017-05-31 14:57:44 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