Bug 1362456

Summary: Container Image SmartState Analysis duplicate tasks and errors
Product: Red Hat CloudForms Management Engine Reporter: Pavel Zagalsky <pzagalsk>
Component: SmartState AnalysisAssignee: Erez Freiberger <efreiber>
Status: CLOSED CURRENTRELEASE QA Contact: Einat Pacifici <epacific>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dajohnso, fsimonce, hkataria, jhardy, mpovolny, mtayer, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0Flags: epacific: automate_bug+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:smartstate
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1364063 (view as bug list) Environment:
Last Closed: 2017-01-11 19:53:26 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:
Bug Depends On:    
Bug Blocks: 1364063    
Attachments:
Description Flags
ImageScan none

Description Pavel Zagalsky 2016-08-02 08:50:43 UTC
Created attachment 1186709 [details]
ImageScan

Description of problem:
Multiple errors after completing a SmartState Analysis

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


How reproducible:
Always

Steps to Reproduce:
1. Go to Compute --> Containers --> Container Images
2. Select an image
3. Press Configuration --> Perform SmartState Analysis 
4. Go to  Settings --> Tasks --> All VM and Container Analysis Tasks
5. Verify that after a few minutes the Tasks were completed successfully
6. Upon completion of the task, select the first task
7. Press on Non-Compliant as of Less Than A Minute Ago text


Actual results:
After commencing the scan there are 2 tasks that appear in the All VM and Container Analysis Tasks menu.
Selecting the first finished task and than pressing on Non-Compliant as of Less Than A Minute Ago text will show an Unexpected error.
Pressing further on All VM and Container Analysis Tasks simlink will show even more errors.
Check the attached screenshots for errors


Expected results:


Additional info:

Comment 2 Erez Freiberger 2016-08-03 09:38:58 UTC
This seems to be connected to the issue of scanning image-inspector's image: https://github.com/ManageIQ/manageiq/issues/9302

Comment 3 Mooli Tayer 2016-08-04 12:33:27 UTC
Submitted: https://github.com/ManageIQ/manageiq/pull/10257

Comment 4 Erez Freiberger 2016-08-04 14:52:48 UTC
https://github.com/ManageIQ/manageiq/issues/9484 was merged to fix this issue.