Bug 1402349 - Unexpected Error when attempting to run Compliance of Last Known Configuration
Summary: Unexpected Error when attempting to run Compliance of Last Known Configuration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Control
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.8.0
Assignee: Erez Freiberger
QA Contact: Einat Pacifici
URL:
Whiteboard: container
Depends On:
Blocks: 1411370
TreeView+ depends on / blocked
 
Reported: 2016-12-07 10:08 UTC by Pavel Zagalsky
Modified: 2018-04-17 08:27 UTC (History)
8 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1411370 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:12:56 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:
epacific: automate_bug+


Attachments (Terms of Use)
ComplanceCrashLog (429.69 KB, text/plain)
2016-12-07 10:08 UTC, Pavel Zagalsky
no flags Details

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


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