Bug 2115000 - 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
Summary: Multicluster Web Console doesn't raise error with a clear explanation when on...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ODF 4.12.0
Assignee: Vineet
QA Contact: Aman Agrawal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-03 17:13 UTC by Martin Bukatovic
Modified: 2023-08-09 16:46 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-08 14:06:28 UTC
Embargoed:
skatiyar: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 1789 0 None Merged disaster recovery: create clusterclaims during reconcile 2022-09-06 08:22:07 UTC
Github red-hat-storage odf-console pull 39 0 None closed [REMOVE COMMIT] Run sample test on CI. 2022-09-06 08:22:07 UTC

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


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