Bug 2056841 - [UI] [DR] Web console update is available pop-up is seen multiple times on Hub cluster where ODF operator is not installed and unnecessarily it pop-up on the Managed cluster as well where ODF operator is installed
Summary: [UI] [DR] Web console update is available pop-up is seen multiple times on Hu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.11.0
Assignee: Jon Jackson
QA Contact: Xiyun Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-22 07:50 UTC by Aman Agrawal
Modified: 2022-08-10 10:51 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 10:50:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11304 0 None open Bug 2056841: Improve handling of /api/check-updates request failure in PollConsoleUpdates 2022-04-07 20:09:16 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:51:02 UTC

Comment 2 Bipul Adhikari 2022-02-22 10:18:45 UTC
Moving to it core console team for further analysis. If it's seen flickering without ODF being installed(from the description) then it's a generic issue.

Comment 3 Jakub Hadvig 2022-02-23 07:08:59 UTC
To sum this up, the pop-up should not be visible, on the hub cluster at all? Even if we install and operator with and console plugin?
Instead the pop-up should only be visible on the managed clusters once a console plugins is enabled ?

Comment 8 Yadan Pei 2022-02-25 01:36:23 UTC
it was tested against 4.11.0-0.nightly-2022-02-23-185405

Comment 38 Jon Jackson 2022-04-14 13:56:44 UTC
Note to @yapei: To reproduce this bug:

1. Install ODF operator, choosing the "Enable plugin" option on install
2. Wait for the console update notification toast, then refresh the browser
2. In the browser dev tools, watch the network requests against the "/api/check-updates" endpoint (easiest just to filter on "check-updates"
3. Use the dev tools network throttling options to disconnect network connection then wait for at least one "check-updates" request to fail
4. Re-enable the network connection

Expected result:
The console update notification toast should not appear

Actual result (before this fix):
The console update notification toast appears

Comment 40 Xiyun Zhao 2022-04-21 17:49:40 UTC
The bug for "console update toast notification is popping up more frequently than expected" has been verified on paylod 4.11.0-0.nightly-2022-04-21-025500

The Reproduce step is very clear on https://bugzilla.redhat.com/show_bug.cgi?id=2056841#c38

Verification Step:
1. Install ODF operator, choosing the "Enable plugin" option on install
2. Wait for the console update notification toast, then refresh the browser
2. In the browser dev tools, watch the network requests against the "/api/check-updates" endpoint (easiest just to filter on "check-updates"
3. Use the dev tools network throttling options to disconnect network connection then wait for at least one "check-updates" request to fail
4. Re-enable the network connection

Result:(after this fix)
4. The console update notification toast would not appear after Re-enable the network connection.
   Operator page can be re-loaded normally 
   The error of "GET https://console-openshift-console.apps.ci-ln-lthzskt-72292.origin-ci-int-gce.dev.rhcloud.com/api/check-updates net::ERR_INTERNET_DISCONNECTED" and the warning of "consoleFetch failed for url /api/check-updates TypeError: Failed to fetch" will only be displayed if there is a real problem with the OCP


@Jon Jackson
"ODF tab appears and then disappears on UI" issue can still be found on OCP (Attachment: ODF tab appears and the disappears on UI)
Please help to confirm if this bug will be fixed on "https://bugzilla.redhat.com/show_bug.cgi?id=2070542" or another bug needs to be opened for it

Comment 41 Jon Jackson 2022-04-25 14:12:19 UTC
@

Comment 42 Jon Jackson 2022-04-25 14:15:10 UTC
@xiyuzhao The other bug is being tracked separately and is not a part of this fix. This only addresses the toast notification behavior.

Comment 43 Xiyun Zhao 2022-04-26 09:19:33 UTC
Thanks for the confirmation, update the bug to verified

Comment 46 errata-xmlrpc 2022-08-10 10:50:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069


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