Bug 1481230 - Image SSA - image-inspector unable to pull image - pod_wait is not permitted at state finished
Summary: Image SSA - image-inspector unable to pull image - pod_wait is not permitted ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Erez Freiberger
QA Contact: brahmani
URL:
Whiteboard: container:smartstate
Depends On:
Blocks: 1496949
TreeView+ depends on / blocked
 
Reported: 2017-08-14 12:10 UTC by Gellert Kis
Modified: 2020-12-14 09:30 UTC (History)
7 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1496949 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:52:27 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log (205.32 KB, text/plain)
2017-11-13 13:49 UTC, brahmani
no flags Details

Comment 4 Erez Freiberger 2017-08-22 14:45:45 UTC
This is happening after the scanning job was aborted most commonly due to timeout. It is not effecting the result but this error should be avoided. I will create a PR to clean the dangling queue messages like we are doing when a scanning job is being canceled by the user.

Comment 5 Erez Freiberger 2017-08-23 06:55:31 UTC
How to reproduce:

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
3. In the log search for the string "pod_wait is not permitted at state finished" from the last scan. It will be followed by a stacktrace.


Fixing PR: https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/99

Comment 6 Mooli Tayer 2017-09-27 12:30:50 UTC
:+1: https://bugzilla.redhat.com/show_bug.cgi?id=1481230#c5

Comment 10 brahmani 2017-11-13 13:49:41 UTC
Created attachment 1351576 [details]
evm.log

Comment 11 brahmani 2017-11-13 14:04:19 UTC
Hi Erez 
Following your instructions after getting timeout error , i didn't find string "pod_wait is not permitted at state finished" on attach evm.log!
On which log file should i search for the above error?

Comment 12 brahmani 2017-11-14 10:40:03 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.9.0.8 --> also get tasks error message on timeout as expected on this version.


Note You need to log in before you can comment on or make changes to this bug.