Bug 2115000

Summary: Multicluster Web Console doesn't raise error with a clear explanation when one doesn't login into managed clusters and tries to create DR policy
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Martin Bukatovic <mbukatov>
Component: management-consoleAssignee: Vineet <vbadrina>
Status: CLOSED CURRENTRELEASE QA Contact: Aman Agrawal <amagrawa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.11CC: amagrawa, gshanmug, jefbrown, muagarwa, nthomas, ocs-bugs, odf-bz-bot, skatiyar, vbadrina, ygalanti
Target Milestone: ---Flags: skatiyar: needinfo-
Target Release: ODF 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-08 14:06:28 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 Martin Bukatovic 2022-08-03 17:13:28 UTC
Description of problem
======================

When one tries to create Disaster Recovery Policy using Multicluster Web
console and forgets to login to each managed cluster, the web console reloads
the page losing all user entered data without producing any error message,
which would clarify what is going on.

This is UX issue.

Version-Release number of selected component
============================================

OCP on ACM Hub cluster:  4.11.0-0.nightly-2022-07-21-203245
OCP on Managed clusters: 4.11.0-0.nightly-2022-07-19-104004
RHACM 2.5.1
ODF 4.11.0-129

How reproducible
================

100%

Steps to Reproduce
==================

1. Prepare OCP cluster with RHACM Hub, with 2 other imported managed clusters.
2. Install ODF Multicluster Orchestrator on the ACM hub cluster.
3. Enable Multicluster Web Console in OCP Console of the Hub cluster.
4. Using Multicluster Web Console, try to create DRPolicy but without logging
   to each individual managed clusters.

Actual results
==============

When I select first managed cluster in "Connect clusters" selection box, the
web interface reloads and after a while, I end up in the same web page again,
but all data filled in the form are now cleared up.

See screenshot #1 and referenced video recording.

Expected results
================

User is warned that Multicluster Web Console can't reach the selected cluster,
and notifies the user that one has to login first.

Optionally: Since the login procedure is not immediately clear, the message
could also provide user with a link/button to do so.

Additional info
===============

The ODF DR documentation currently states:

> Make sure to login to all the clusters from the Multicluster Web console.
> The clusters will be listed directly below All Clusters.

If you are not familiar with how Multicluster Web console works, it's not
immediately obvious how to login to another cluster.

Comment 7 Mudit Agarwal 2022-10-19 05:46:24 UTC
Please test with the latest 4.12 build