Bug 1289590

Summary: Provider event results show hyper link of the provider name which leads to the infrastructure provider which never existed
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: UI - OPSAssignee: Mooli Tayer <mtayer>
Status: CLOSED ERRATA QA Contact: Dafna Ron <dron>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: atal, cpelland, dajohnso, dron, fsimonce, hkataria, jhardy, jkrocil, jprause, mpovolny, mtayer, obarenbo, snansi
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: 5.5.2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1288131 Environment:
Last Closed: 2016-02-10 15:26:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1288131    
Bug Blocks:    

Description John Prause 2015-12-08 13:57:44 UTC
+++ This bug was initially created as a clone of Bug #1288131 +++

Description of problem:

in the provider's result, we get a link in the container to the provider in the infrastructure main page. since I never created a provider in the infrastructure page I get a "no longer exist message" and "no records found" message

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

cfme-5.5.0.13-1.el7cf.x86_64

How reproducible:

100%

Steps to Reproduce:
1. navigate to providers -> select provider -> monitoring -> timeline
2. in the results shown (only power results are shown for now) select one of the containers
3. press the provider link in the pop-up window (which has the same name as your openshift provider)

Actual results:

we are re-directed to the infrastructure page 

Expected results:

we should not be re-directed to the provider page

Additional info: screen shots and logs

--- Additional comment from Federico Simoncelli on 2015-12-03 12:13:57 EST ---

Mooli, this may be related to the balloon changes introduced in:

https://github.com/ManageIQ/manageiq/pull/5053

for some reason it seems that the provider link is not correctly generated.

Discuss it with Daniel as he is adding the id of the other entities (pods, containers and replicators) and the links generated for those may be wrong as well.

--- Additional comment from Mooli Tayer on 2015-12-08 04:16:41 EST ---

proposed fix upstream: 
https://github.com/ManageIQ/manageiq/pull/5742

Comment 2 Mooli Tayer 2015-12-13 15:15:56 UTC
submitted upstream: https://github.com/ManageIQ/manageiq/pull/5742

Comment 6 Dafna Ron 2016-01-19 15:55:50 UTC
verified on cfme-5.5.2.1-1.el7cf.x86_64
The name of the pod is not the same as the provider and when selecting the provider we are getting to the container provider and not the infrastructure provider.

Comment 7 errata-xmlrpc 2016-02-10 15:26:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:0159