Bug 1402349

Summary: Unexpected Error when attempting to run Compliance of Last Known Configuration
Product: Red Hat CloudForms Management Engine Reporter: Pavel Zagalsky <pzagalsk>
Component: ControlAssignee: Erez Freiberger <efreiber>
Status: CLOSED CURRENTRELEASE QA Contact: Einat Pacifici <epacific>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: dmisharo, dron, efreiber, fsimonce, jhardy, lavenel, mhepburn, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0Flags: epacific: automate_bug+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1411370 (view as bug list) Environment:
Last Closed: 2017-06-12 16:12:56 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1411370    
Attachments:
Description Flags
ComplanceCrashLog none

Description Pavel Zagalsky 2016-12-07 10:08:28 UTC
Created attachment 1229004 [details]
ComplanceCrashLog

Description of problem:
CFME crashes when attempting to Check Compliance of Last Known Configuration

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


How reproducible:
Always.
Reproduced on 5.7.0.14

Steps to Reproduce:
1. Go to Container Images menu
2. Select a Container Image and press Policy --> Check Compliance of Last Known Configuration
3.

Actual results:
The following error appears:

Unexpected error encountered

Errors in Management Engine can be caused by:

① Accessing Management Engine from multiple tabs or windows of the same browser on a single machine. Close any duplicate browser sessions, then select an option from the menu.
② Pressing the back button during a session. 
      Close any duplicate browser sessions, then select an option from the menu.
③ An internal system error. 
      Please contact your administrator for assistance.


Error text:

undefined method `split' for #<Class:0x0000000e241360> Did you mean? split_id [container_image/button]

Expected results:
The Compliance check should run

Additional info:
Not much info in the logs. No errors in evm.log or any other log.
Attached  the evm.log for reference

Comment 3 Federico Simoncelli 2016-12-07 14:08:46 UTC
Erez can you check this and assess how hard it is to fix? Thanks.

Comment 4 Pavel Zagalsky 2016-12-08 13:12:02 UTC
Updated scenario:

1. Go to Container Images menu
2. Select a Container Image and press Configuration --> Perform Smart State Analysis
3. Immediately afterwards select a Container Image and press Policy --> Check Compliance of Last Known Configuration
3. There's an error and the user also gets kicked out of the appliance and needs to re-login

Comment 7 Erez Freiberger 2016-12-09 06:05:19 UTC
PR: https://github.com/ManageIQ/manageiq/pull/13075

Comment 11 Erez Freiberger 2017-01-09 07:59:57 UTC
the upstream PR for manageiq-classic-ui has been merged: https://github.com/ManageIQ/manageiq-ui-classic/pull/34

A backport PR for euwe in case we want to clone this: https://github.com/ManageIQ/manageiq/pull/13389