Bug 1291669

Summary: jobs.started_on is always empty
Product: Red Hat CloudForms Management Engine Reporter: Mooli Tayer <mtayer>
Component: SmartState AnalysisAssignee: Hui Song <hsong>
Status: CLOSED CURRENTRELEASE QA Contact: Einat Pacifici <epacific>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: fsimonce, jhardy, mtayer, obarenbo, roliveri, simaishi, srevivo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-19 17:13:56 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:
Attachments:
Description Flags
Start time showing in Tasks. none

Description Mooli Tayer 2015-12-15 12:21:51 UTC
Description of problem:
In both scan jobs (vm scan / container scan) started_on is always empty 

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

How reproducible:
100% As far as I can tell

Steps to Reproduce:
1. execute a vm scan job / container scan job
2. go to configure -> tasks -> 'all vm analysis tasks' OR check the DB table 'jobs' 


Actual results:
- Started ui column is always displayed empty
- DB:jobs.started_on is always empty 

Expected results:
started_on should container job start time.

Additional info:
github issue: https://github.com/ManageIQ/manageiq/issues/5659

Comment 3 Mooli Tayer 2016-04-12 09:19:09 UTC
Sorry for not responding sooner. 
I tried to reproduce every now and then but was unable to run a vm scan. Following input from Hui this might be relevant only to container scan

Comment 4 Federico Simoncelli 2016-07-13 07:36:03 UTC
Mooli, now that we use the dispatcher, is this fixed?

do_dispatch and assign_proxy_to_job should set started_on.

Comment 5 Mooli Tayer 2016-07-13 13:16:38 UTC
Yes it is resolved on master. 
Moving to on qa since I beleive they should have the fix already.
Please correct if that is wrong.

Comment 6 Einat Pacifici 2016-07-31 10:29:56 UTC
Created attachment 1186005 [details]
Start time showing in Tasks.

Verified. When running Perform Smart State analysis" then, Tasks -- All VM Analysis Tasks shows start time.