Bug 1397600

Summary: After killing reporting worker, report status still says Running
Product: Red Hat CloudForms Management Engine Reporter: myoder
Component: ReportingAssignee: Yuri Rudman <yrudman>
Status: CLOSED CURRENTRELEASE QA Contact: Tasos Papaioannou <tpapaioa>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, hkataria, jhardy, jocarter, mpovolny, obarenbo, simaishi, tpapaioa, yrudman
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: report:worker
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1457979 1460349 (view as bug list) Environment:
Last Closed: 2018-03-06 14:32:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1457979, 1460349    

Description myoder 2016-11-22 23:14:07 UTC
Description of problem: When running a report, when the reporting worker is killed, the status of the report still says running.  The report is never picked back up and ran at all.


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


How reproducible: Always


Steps to Reproduce:
1. Run a report
2. Identify which reporting worker is running the report (usually you can tell by CPU/Memory spikes while watching Top)
3. kill -9 <reporting_worker_pid>

Actual results: Report status says "Running"


Expected results: Report status should say something like "Error" or that the report will be re-run once a new worker could pick up the job.


Additional info:

Comment 4 Yuri Rudman 2017-05-31 18:04:22 UTC
PR for future release: https://github.com/ManageIQ/manageiq/pull/15231

Comment 7 Satoe Imaishi 2017-06-16 20:35:04 UTC
Also need: https://github.com/ManageIQ/manageiq/pull/15370

Comment 8 Tasos Papaioannou 2017-10-09 20:19:08 UTC
Verified on 5.9.0.1.