Bug 1519382 - From the dashboard of a container provider, selecting "Containers" causes a 500 error and the page fails to load.
Summary: From the dashboard of a container provider, selecting "Containers" causes a 5...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Nimrod Shneor
QA Contact: Tony Khamis
URL:
Whiteboard:
Depends On:
Blocks: 1520618
TreeView+ depends on / blocked
 
Reported: 2017-11-30 16:32 UTC by Robb Manes
Modified: 2018-07-03 14:03 UTC (History)
9 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1520618 (view as bug list)
Environment:
Last Closed: 2018-06-21 20:33:45 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Robb Manes 2017-11-30 16:32:03 UTC
Description of problem:
Using CFME 4.6, navigating to a container provider and selecting "Containers" produces a 500 error in the UI.

The URL that reproduces this issue is https://example-cfme-appliance/ems_container/1?display=containers

And the 500 reported is:

Server Error ($http)
URL /ems_container/report_data
Status 500 Internal Server Error
Content-Type text/html; charset=utf-8
Data undefined method `titleize' for nil:NilClass [ems_container/report_data]

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

How reproducible:
Every time, verified with multiple container providers and two appliances on 5.9.0.11

Steps to Reproduce:
1. Add a container provider
2. Navigate to Compute=>Containers=>Providers
3. Select a container provider
4. Select "Containers" from the dashboard view
5. Experience a 500 error

Actual results:
UI fails to load the page with a 500 error

Expected results:
UI should not fail, should not return 500 error.

Comment 2 Robb Manes 2017-11-30 16:37:27 UTC
This error continues, actually, if you also navigate to https://example-cfme/container/show_list via Compute=>Containers=>Containers with the same error:

URL /container/report_data
Status 500 Internal Server Error
Content-Type text/html; charset=utf-8
Data undefined method `titleize' for nil:NilClass [container/report_data]

Comment 3 Nimrod Shneor 2017-12-04 11:29:53 UTC
Just for me to be able to reproduce - how many containers do you have running in those environments?

Comment 4 Nimrod Shneor 2017-12-04 14:20:32 UTC
Please provide a full backtrace of the error..

Comment 6 Nimrod Shneor 2017-12-04 15:55:34 UTC
PR: https://github.com/ManageIQ/manageiq-ui-classic/pull/2919

Comment 8 Robb Manes 2018-01-08 13:14:26 UTC
(In reply to Nimrod Shneor from comment #3)
> Just for me to be able to reproduce - how many containers do you have
> running in those environments?

I had only one pod running in my openshift environment at the time.(In reply to Nimrod Shneor from comment #4)
> Please provide a full backtrace of the error..

I strangely had no backtrace unfortunately - not in evm.log or production.log.  I've since torn down the environment but can stand it back up and try to reproduce if you would like.  Thanks!

Comment 9 Nimrod Shneor 2018-01-08 13:28:11 UTC
I have been able to find the bug (see Comment #6) - Thanks anyways!

Comment 11 Tony Khamis 2018-07-03 14:03:15 UTC
Verified on version : 5.10.0.2.20180626170006_40dc459


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