Bug 1270185

Summary: Hang on "Loading" page when click service link in route detail page
Product: OKD Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-23 21:16:29 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:
Attachments:
Description Flags
loading-page none

Description Yanping Zhang 2015-10-09 08:45:48 UTC
Description of problem:
When click service link in route detail page, it's always hanging on "Loading" page.

Version-Release number of selected component (if applicable):
$ openshift version
openshift v1.0.6-466-g72df0dc
kubernetes v1.1.0-alpha.1-653-g86b4e77


How reproducible:
Always

Steps to Reproduce:
1.Create app using application-template-stibuild.json in project
$ oc new-app origin/examples/sample-app/application-template-stibuild.json -n prozyp

2.Get service and route info
$ oc get route -n prozyp
NAME         HOST/PORT         PATH      SERVICE    LABELS                                   TLS TERMINATION
route-edge   www.example.com             frontend   template=application-template-stibuild   edge
$ oc get service -n prozyp
NAME       CLUSTER_IP      EXTERNAL_IP   PORT(S)    SELECTOR        AGE
database   172.30.49.229   <none>        5434/TCP   name=database   2h
frontend   172.30.66.106   <none>        5432/TCP   name=frontend   2h

3.Login on web console in project "prozyp"
4.In Browse-> Routes page, click in "route-edge" to show detail info, then click on link in "Service: frontend" after "Routes to:" item.

Actual results:
4.It hangs on "Loading" page always.

Expected results:
4.It should jump to service "frontend" page.

Additional info:

Comment 1 Yanping Zhang 2015-10-09 08:48:39 UTC
Created attachment 1081215 [details]
loading-page

Comment 2 Jessica Forrester 2015-10-15 12:37:53 UTC
Should have been fixed with https://github.com/openshift/origin/pull/5095

Comment 3 Yanping Zhang 2015-10-16 04:14:12 UTC
Tested on latest origin code, the issue still can be reproduced.
# openshift version
openshift v1.0.6-638-g68a7d7b
kubernetes v1.1.0-alpha.1-653-g86b4e77

Comment 4 Jessica Forrester 2015-10-19 15:17:21 UTC
misread bug before, should be fixed now in https://github.com/openshift/origin/pull/5206

Comment 5 openshift-github-bot 2015-10-19 20:13:54 UTC
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/045606c698a27364d8165dec0b76ba3903bff5f7
Bug 1270185 - service link on route details page missing project name

Comment 6 Yanping Zhang 2015-10-20 06:37:38 UTC
Checked on the latest origin code, the issue is fixed.
Steps to verify:
1.Create app in project.
$oc create -f origin/examples/sample-app/application-template-stibuild.json -n protest
$oc new-app ruby-helloworld-sample in protest.
2.Login on web console, click in project "protest". In Browse-> Routes page, click in "route-edge" to show detail info, then click on link in "Service: frontend" after "Routes to:" item.
Actual results:
2.Could jump to service "frontend" page.

Move the bug to Verified.