Description of problem: When performing a Smart State Analysis scheduled scans with the provider attached to OpenSCAP policy, some images time out (with the actual 10 min timeout instead of a 3 min timeout). Those images are displayed in CFME as "scanning" Steps to Reproduce: 1. Attach a provider to OpenSCAP policy 2. Schedule a scan 3. After 10-15 minutes check the results of the scan in evm.log (appear to be timed out) and in CFME (appear as "scanning")
Log file will be attached shortly
The evm.log can be viewed at https://drive.google.com/open?id=0BwFOPs7diTYdc21xSFN1V0gtQWM
Created attachment 1161456 [details] CFME My Tasks
Federico, wasn't sure if this was a general SSA issue or specific to containers. I've asked Dajo to retest scan timeouts on Compute Images to see if he can get the same problem.
Erez my 5 cents on this issue: There are types of timeouts I've seen in scanning/job.rb 1. Organic timeouts e.g the job timesout because OpenShift could not download an image in time 2. An exception was thrown when the job was running, and then some other component times out the job (that can happen from model/job.rb or from miq_queue as you explained to me today) we will have a stack trace in evm.log with the original exception in that case
A proposed fix: https://github.com/ManageIQ/manageiq/pull/9040/files
Verified on CFME 5.7.0.1