Bug 1438723

Summary: Embedded tower event catcher collect not working
Product: Red Hat CloudForms Management Engine Reporter: luke couzens <lcouzens>
Component: ProvidersAssignee: Marcel Hild <mhild>
Status: CLOSED CURRENTRELEASE QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: abellott, cpelland, jfrey, jhardy, mhild, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible_embed
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1444516 (view as bug list) Environment:
Last Closed: 2018-03-06 14:33:41 UTC Type: Bug
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:    
Bug Blocks: 1444516    

Description luke couzens 2017-04-04 09:40:28 UTC
Description of problem:Embedded tower event catcher collect not working


Version-Release number of selected component (if applicable):5.8.0.8


How reproducible:100%


Steps to Reproduce:
1.Provision appliance
2.Enable embedded tower
3.Open tower ports
4.Go to tower ui
5.Add new user or create new event
6.Check event in https://<towerip>/api/v1/activity_stream
7.Run rails c on appliance
8.Run EventStream.where("source" => 'ANSIBLE_TOWER').count

Actual results:count still remains at 0


Expected results:count should increase


Additional info:
Also ran
EventStream.where("source" => 'ANSIBLETOWER').count
=> 0
EventStream.group(:source).count
=> {"POLICY"=>30}
EventStream.where("source" => 'ANSIBLE_TOWER').count
=> 0
EventStream.where("source" => 'EMBEDDEDANSIBLE').count
=> 0

Comment 2 Marcel Hild 2017-04-05 08:00:32 UTC
https://github.com/ManageIQ/manageiq/pull/14645

Comment 4 luke couzens 2017-10-11 12:12:15 UTC
Verified in 5.9.0.1