Bug 1371896 - SmartState analysis of container images never finishes
Summary: SmartState analysis of container images never finishes
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.6.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: GA
: 5.8.0
Assignee: Mooli Tayer
QA Contact: Einat Pacifici
URL:
Whiteboard: container
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 11:58 UTC by Colin Arnott
Modified: 2019-12-16 06:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-27 14:41:34 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:


Attachments (Terms of Use)

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


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