Bug 1789136

Summary: [3.11] - configmaps from webconsole point to the default console page
Product: OpenShift Container Platform Reporter: Vladislav Walek <vwalek>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: high    
Version: 3.11.0CC: aos-bugs, bpeterse, cvogt, jhadvig, jokerman, nmukherj, scuppett
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-14 21:33:34 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:

Description Vladislav Walek 2020-01-08 20:15:07 UTC
Description of problem:

The link for configmap in the webconsole shows the link to the default web console page https://master-api/console.
Basically it updates after a while which is correct - however, for customer it is not updating to the link.

I see the similar behavior:
- showing page for configmaps (for random project)
- the page is updated after a while to correct link (1-2s)
- on click it brings page of the configmap
- with return to the configmaps page - now the links point again to the /console page - not updating

I see that there is problem with WebSocket when this occurs, the second time it shows error:

WebSocket connection to 'wss://master-api/api/v1/namespaces/openshift-monitoring/configmaps?watch=true&resourceVersion=7691449' failed: WebSocket is closed before the connection is established.

Version-Release number of selected component (if applicable):
OpenShift Container Platform 3.11

How reproducible:
reproduced on quicklab, after opening the configmap and return to the previous page, the link points to the default page of webconsole instead of the configmap configuration page

Steps to Reproduce:
1. go to configmap page in any project
2. click on any configmap to see the configmap configuration
3. return to the page of the list of configmap - check the console page of webbrowser if you see error with websockets

Actual results:
the link points to the /console page

Expected results:
should point to the link to the configmap

Additional info:

please add comment which logs you require.

Thank you

Comment 1 Vladislav Walek 2020-01-08 20:42:54 UTC
Hi,

to fix the issue with return to page - you need to reload the whole page - then it fixes the issue.

Comment 5 Jakub Hadvig 2020-01-14 21:33:34 UTC
QA confirmed that the latest tagged webconsole image is 3.11.161, which was built 2019-12-24.
The fix was merged 2020-01-07 in https://github.com/openshift/origin-web-console/commit/1d044e210c8ad1207192d61e6db1ff3b86a4fc16
That means that the latest build does not contain it.

Also this bug is duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1782695

*** This bug has been marked as a duplicate of bug 1782695 ***