Bug 1371896

Summary: SmartState analysis of container images never finishes
Product: Red Hat CloudForms Management Engine Reporter: Colin Arnott <carnott>
Component: SmartState AnalysisAssignee: Mooli Tayer <mtayer>
Status: CLOSED NOTABUG QA Contact: Einat Pacifici <epacific>
Severity: medium Docs Contact:
Priority: high    
Version: 5.6.0CC: bazulay, benglish, fdewaley, gblomqui, jhardy, jswensso, obarenbo
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: container
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-27 14:41:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:

Description Colin Arnott 2016-08-31 11:58:24 UTC
Description of problem:
SmartState analysis of container images never seems to finish.
The OpenSCAP part does seem to complete and I can see the report in the CloudForms console but the task does not complete.

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

How reproducible:
this environment, no reproducer

Steps to Reproduce:
1. attach OSE provider
2. EMS refresh
3. attempt SSA on one container

Actual results:
never finishes

Expected results:
finishes

Additional info:
(pending)

Comment 4 Federico Simoncelli 2016-09-20 16:37:42 UTC
Mooli can you look into this?

Comment 5 Mooli Tayer 2016-09-21 08:13:06 UTC
Is the SmartProxy role enabled? (configuration -> settings -> server)

Comment 7 Mooli Tayer 2016-09-23 05:26:03 UTC
Any update?

Comment 8 Mooli Tayer 2016-09-23 15:08:28 UTC
I can see in logs smartproxy role isn't enabled:

# my server
$ grep "Activating Role " ~/dev/manageiq/log/evm.log |grep -E 'smartproxy|smartstate' |tail -2
... Activating Role <smartproxy> on Server <EVM>
... Activating Role <smartstate> on Server <EVM>

# your server
$ grep "Activating Role " evm.log-20160830 |grep -E 'smartproxy|smartstate' |tail -2
... Activating Role <smartstate> on Server <EVM>

Aside from adding this role there should be a fix for this bz for a useful error message for this failure:
Submitted:  
https://github.com/ManageIQ/manageiq/pull/11476

Comment 13 Mooli Tayer 2017-03-27 14:41:34 UTC
Configuration resolved the issue per bug 1371896, comment 11

PS The warning is improved for 5.8:  https://github.com/ManageIQ/manageiq-ui-classic/pull/273