Bug 2013109

Summary: [UI] Refreshing web console from the pop-up is taking to Install Operator page
Product: OpenShift Container Platform Reporter: Jilju Joy <jijoy>
Component: Management ConsoleAssignee: Bryan Florkiewicz <bflorkie>
Status: CLOSED DEFERRED QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: amagrawa, aos-bugs, badhikar, bflorkie, jefbrown, musoni, ocs-bugs, skatiyar, yapei
Target Milestone: ---Keywords: Regression
Target Release: ---   
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: 2023-03-09 01:07:58 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:    
Bug Blocks: 2052850    
Attachments:
Description Flags
Screen recording which shows the issue none

Description Jilju Joy 2021-10-12 06:49:20 UTC
Created attachment 1832087 [details]
Screen recording which shows the issue

Description of problem (please be detailed as possible and provide log
snippests):
While installing odf-operator from GUI a pop-up was shown to refresh the web console. When clicking on "Refresh web console" which is present in the pop-up, the page is reloading to Install Operator page. The odf-oparator is already installed. So only the cancel option is available in the Install Operator page. 
Screen recording attached.

Version of all relevant components (if applicable):
ODF 4.9.0-183.ci
OCP 4.9.0-0.nightly-2021-10-11-151207

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
After refreshing the page which is loaded is not appropriate and not useful.

Is there any workaround available to the best of your knowledge?
No

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Issue is in UI

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Install Openshift Data Foundation From Operator hub. After clicking "Install", stay on the same page and wait for the pod-up to refresh the web console.
2. Click "Refresh web console" given in the pop-up.

Actual results:
When clicking on "Refresh web console" which is present in the pop-up, the page is reloading to Install Operator page.

Expected results:
Installed Operators page or "Installing Operator" page(which was present before refreshing) can be shown after refreshing.
If the page before refreshing was something else, refresh to that same page.


Additional info:

Comment 4 Yanping Zhang 2021-11-15 09:25:36 UTC
Checked on ocp 4.10 cluster with payload 4.10.0-0.nightly-2021-11-14-184249. Install odf operator from console, stay on the installation page, then install a dynamic plugin from cli, once there is pop up shown on the right upper page, click "Refresh web console". The page will refresh to operatorhub page.
The bug is fixed.

Comment 7 Mugdha Soni 2022-02-17 12:41:03 UTC
Hi 

With the following versions the refresh web console pop up is till redirecting to operator hub page which is not correct .
It should redirect to either installed Operators page or "Installing Operator" page(which was present before refreshing) 
[root@localhost to]# oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.10.0-0.nightly-2022-02-15-041303   True        False         51m     Cluster version is 4.10.0-0.nightly-2022-02-15-041303
[root@localhost to]# oc get csv odf-operator.v4.10.0 -o yaml -n openshift-storage| grep full_version
    full_version: 4.10.0-156
          f:full_version: {}

Thanks 
Mugdha

Comment 15 Sanjal Katiyar 2023-01-09 14:30:43 UTC
Hi Bryan,
I can see PR attached above under "Links" is merged, can we update the status of this BZ to MODIFIED or ON_QA ??

Comment 18 Shiftzilla 2023-03-09 01:07:58 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-9000

Comment 19 Red Hat Bugzilla 2023-09-18 04:26:59 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days