Bug 1789136 - [3.11] - configmaps from webconsole point to the default console page
Summary: [3.11] - configmaps from webconsole point to the default console page
Keywords:
Status: CLOSED DUPLICATE of bug 1782695
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.11.z
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-08 20:15 UTC by Vladislav Walek
Modified: 2023-09-07 21:24 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-14 21:33:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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