Bug 2072965 - [Tracker for OCP BZ #2071690] [UI] Data Foundation dashboard is crashing when it's not in the active view, internet connectivity is lost and then the user clicks on Data Foundation tab
Summary: [Tracker for OCP BZ #2071690] [UI] Data Foundation dashboard is crashing when...
Keywords:
Status: CLOSED DUPLICATE of bug 2111629
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks: 2056571
TreeView+ depends on / blocked
 
Reported: 2022-04-07 11:02 UTC by Aman Agrawal
Modified: 2022-11-07 04:27 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-27 16:51:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Data Foundation tab crashes/disappears (139.80 KB, image/png)
2022-04-07 11:02 UTC, Aman Agrawal
no flags Details

Description Aman Agrawal 2022-04-07 11:02:22 UTC
Created attachment 1871263 [details]
Data Foundation tab crashes/disappears

Description of problem (please be detailed as possible and provide log
snippests):


Version of all relevant components (if applicable):
OCP 4.10.0-0.nightly-2022-04-05-063640
ODF 4.10.0-220

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge? 
Yes, reload the OCP web console after the internet connection is restored.



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


Can this issue reproducible? Yes


Can this issue reproduce from the UI? Yes


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


Steps to Reproduce:
1) Install ODF on the OCP cluster and enable the dashboard. 
2) Refresh(preferably hard refresh) the OCP console tab but do not land on the ODF page( any other page such as PVC/PV) but do not open the ODF tab.
3) Disconnect from the Internet.
4) Press the Data Foundation tab. 


Actual results: Data Foundation tab crashes/disappears in the above scenario

Please refer the bug 2071897 for more details.


Expected results: Data Foundation tab shouldn't crash/disappear even in this scenario


Additional info:

Comment 3 Samuel Padgett 2022-04-07 11:41:12 UTC
This is not a crash (as seen in the screenshot). You're disconnected from the internet, and the plugin resources fail to load.

We purposely disable a plugin if there are any errors loading a code reference, but we plan to change this behavior. I believe this is tracked by another bug. Jon, do you know?

Note that you still would not see data with that fix, but the tab wouldn't disappear.

Comment 4 Jon Jackson 2022-04-07 14:55:05 UTC
@spadgett I believe https://bugzilla.redhat.com/show_bug.cgi?id=2071690 covers the issue with automatically disabling plugins.

Comment 5 Mudit Agarwal 2022-04-08 05:47:29 UTC
Bipul, please add the doc text

Comment 15 Bipul Adhikari 2022-07-27 04:47:03 UTC
(In reply to Jon Jackson from comment #4)
> @spadgett I believe
> https://bugzilla.redhat.com/show_bug.cgi?id=2071690 covers the issue with
> automatically disabling plugins.

It was assumed that the above bug would fix this issue however it doesn't fix this issue. Moving it to console.

Comment 17 Jon Jackson 2022-07-27 16:12:08 UTC
Hi Bipul and Aman, the bug I linked was resolved by fixing the runtime error in the plugin itself, which did not address console behavior around failed plugins. We probably need another bug to cover what happens in the console when a dynamic plugin fails to load. This is just an edge case of that scenario, so I will close this as a duplicate of that bug once I have it opened.

Comment 19 Jon Jackson 2022-07-27 16:51:43 UTC
This is now covered by https://bugzilla.redhat.com/show_bug.cgi?id=2111629

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


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