Bug 1496949

Summary: Image SSA - image-inspector unable to pull image - pod_wait is not permitted at state finished
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: SmartState AnalysisAssignee: Erez Freiberger <efreiber>
Status: CLOSED ERRATA QA Contact: brahmani
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: bazulay, efreiber, fsimonce, gekis, jhardy, mtayer, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:smartstate
Fixed In Version: 5.8.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1481230 Environment:
Last Closed: 2018-02-28 13:05:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1481230    
Bug Blocks:    
Attachments:
Description Flags
evm.log none

Comment 2 CFME Bot 2017-11-10 18:26:16 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/ef08e9f8fbb7c52fe5757bbe2b606a768ed81963

commit ef08e9f8fbb7c52fe5757bbe2b606a768ed81963
Author:     Mooli Tayer <mtayer>
AuthorDate: Wed Sep 27 18:29:52 2017 +0300
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Nov 10 13:18:07 2017 -0500

    Merge pull request #99 from enoodle/scanning_job_cleanup_unqueue_signals
    
    Scanning::Job always cleanup all signals in cleanup
    (cherry picked from commit 2a8f7ae706df284c61861a789854d5e5ad62403e)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1496949

 .../providers/kubernetes/container_manager/scanning/job.rb     |  4 ++--
 .../kubernetes/container_manager/scanning/job_spec.rb          | 10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

Comment 3 brahmani 2018-01-01 10:54:46 UTC
Created attachment 1375134 [details]
evm.log

Comment 4 brahmani 2018-01-01 10:59:01 UTC
Verify on 5.8.3.0.20171213193853_f1b4a89
Reproduce by:
1. Change the timeout settings for container scanning jobs to "1.second" in the config/settings.yml file under "container_scanning.scanning_job_timeout"
2. Run SSA on a  container image. it will fail due to timeout

The problem is that on the attach evm.log didn't find the string "pod_wait is not permitted at state finished".

Please your advice.

Comment 5 brahmani 2018-01-01 12:06:05 UTC
Verified on 5.8.2.3.20171016155816_aaec796
get tasks error message on timeout.
also get on  evm.log "pod_wait is not permitted at state finished" 

also verified on 5.8.3.0.20171213193853_f1b4a89 --> also get tasks error message on timeout and no error message on evm.log as expected on this version.

Comment 8 errata-xmlrpc 2018-02-28 13:05:51 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-2018:0374