Bug 1500401 - Container Providers -> Topology View raises 'capitalize' error
Summary: Container Providers -> Topology View raises 'capitalize' error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.9.0
Assignee: Dávid Halász
QA Contact: Einat Pacifici
URL:
Whiteboard:
Depends On:
Blocks: 1501897
TreeView+ depends on / blocked
 
Reported: 2017-10-10 13:56 UTC by Tim Bielawa
Modified: 2018-06-06 09:32 UTC (History)
10 users (show)

Fixed In Version: 5.9.0.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1501897 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:50:05 UTC
Category: Bug
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:
epacific: automate_bug+


Attachments (Terms of Use)
Screenshot of the error (69.74 KB, image/png)
2017-10-10 13:56 UTC, Tim Bielawa
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ manageiq-ui-classic issues 1275 0 None None None 2017-10-10 13:56:39 UTC

Description Tim Bielawa 2017-10-10 13:56:39 UTC
Created attachment 1336779 [details]
Screenshot of the error

Description of problem:

When looking at my container provider (OCP) in 'Topology' view the following error is raised in a modal box:

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



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

ManageIQ: Version master.20171010134437_


CONTAINER ID        IMAGE                                                                                                                            COMMAND                  CREATED             STATUS              PORTS               NAMES
adc43c2148dd        docker.io/manageiq/manageiq-pods@sha256:6e34353db9fd8d128ece314c34e3a2958cc40fc32a436330860d604462e8c9da                         "/usr/local/bin/dumb-"   8 minutes ago       Up 8 minutes                            k8s_manageiq_manageiq-0_openshift-management_5c5bfe46-ad2e-11e7-b805-5254009b2cdd_5

ManageIQ is running podified (docker) via OCP. OCP 3.7 is running at version 'oc v3.7.0-0.143.1' on 3 RHEL 7.4 virtual machines. The virtual machines are running on Fedora 25 using libvirt-daemon-2.2.1-3.fc25.x86_64. 


How reproducible:

Every time for me.


Steps to Reproduce:
1. Navigate to Computer -> Containers -> Providers
2. Add an OCP 3.7 cluster as a Container Provider
3. Go to the new Provider dashboard, refresh items and relationships
4. Click the 'spring graph' icon to view in topology mode


Actual results:

Error raised as given in Description


Expected results:

A topological view of my container provider infrastructure

Additional info:

Running manageiq fully podified from templates created in https://github.com/ManageIQ/manageiq-pods which are installed by openshift-ansible in https://github.com/openshift/openshift-ansible/tree/master/roles/openshift_management 



https://github.com/ManageIQ/manageiq-ui-classic/issues/1275

Comment 2 Dave Johnson 2017-10-10 14:03:49 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 4 CFME Bot 2017-10-11 07:58:35 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/1f4b61e9ad3c11cd6f72cb2006d5ffa38753ebfd

commit 1f4b61e9ad3c11cd6f72cb2006d5ffa38753ebfd
Author:     Dávid Halász <dhalasz>
AuthorDate: Tue Oct 10 16:01:13 2017 +0200
Commit:     Dávid Halász <dhalasz>
CommitDate: Tue Oct 10 16:01:13 2017 +0200

    Try to capitalize when determining container status in topology
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1500401

 app/services/container_topology_service.rb       |  2 +-
 spec/services/container_topology_service_spec.rb | 14 ++++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)


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