Bug 1758593

Summary: UI crashes when going to Details of Azure Network Port somehow associated to Load Balancers
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, hkataria, jfrey, jhardy, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1767809 (view as bug list) Environment:
Last Closed: 2020-10-26 16:00:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Azure Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1767809    
Attachments:
Description Flags
production.log stacktrace none

Description Matouš Mojžíš 2019-10-04 14:50:26 UTC
Created attachment 1622579 [details]
production.log stacktrace

Description of problem:
If not reproducable I can send appliance IP/credentials.

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

How reproducible:
Always

Steps to Reproduce:
1. Have azure provider with somehow associated network port to load balancer.(I couldn't find any associations in Azure UI except it's in same subnet.)
2. Go to Details of Network Port
3.

Actual results:
UI crashes. production.log stacktrace as attachment  

Expected results:


Additional info:

Comment 3 Adam Grare 2019-10-04 14:51:44 UTC
This looks like a UI issue not a providers issue

Comment 6 Harpreet Kataria 2019-10-07 15:37:28 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/6277

Comment 7 CFME Bot 2019-10-08 10:05:51 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/09231fa4c03d2f45ed8b191ea12ab717ef00738f
commit 09231fa4c03d2f45ed8b191ea12ab717ef00738f
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Oct  7 11:02:16 2019 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Oct  7 11:02:16 2019 -0400

    Fix loading of Network Port details screen

    When Network Port has a device of type LoadBalancer, loading of details screen throws a missing route error because LoadBalancer views no longer exist in UI. This change shows LoadBalancer information as a static name instead of a link.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1758593

 app/helpers/network_port_helper/textual_summary.rb | 2 +
 spec/shared/controllers/shared_network_manager_context.rb | 10 +
 2 files changed, 12 insertions(+)