Bug 2294234 - [RDR} Discovered Application status in UI is not synced with Failover progression phase
Summary: [RDR} Discovered Application status in UI is not synced with Failover progres...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: management-console
Version: 4.16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.17.0
Assignee: Timothy Asir
QA Contact: Pratik Surve
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-25 17:21 UTC by Annette Clewett
Modified: 2024-10-30 14:28 UTC (History)
5 users (show)

Fixed In Version: 4.17.0-87
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-10-30 14:28:16 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage odf-console pull 1375 0 None open Updated the clean up application resource message 2024-08-06 06:23:41 UTC
Github red-hat-storage odf-console pull 1551 0 None open Bug 2294234: [release-4.17] Updated the clean up application resource message 2024-08-26 15:01:06 UTC
Github red-hat-storage odf-console pull 1552 0 None open Bug 2294234: [release-4.17-compatibility] Updated the clean up application resource message 2024-08-26 15:00:23 UTC
Red Hat Issue Tracker OCSBZM-8574 0 None None None 2024-08-26 15:01:59 UTC
Red Hat Product Errata RHSA-2024:8676 0 None None None 2024-10-30 14:28:20 UTC

Description Annette Clewett 2024-06-25 17:21:09 UTC
Created attachment 2038279 [details]
Discovered App status dashboard with message to cleanup resources

Description of problem (please be detailed as possible and provide log
snippests):
When Failover is initiated the new Discovered app status panel tells the user they need to delete the application on the cluster they are failing over from WHEN the DRPC Progression is stuck at WaitForReadiness vs WaitOnUserToCleanUp. Reference attached diagrams.

Version of all relevant components (if applicable):
OCP - 4.16.0-ec.6
ODF - 4.16.0-129
ACM - 2.10.3


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
If application is deleted before DRPC progression WaitOnUserToCleanUp based on the wrong instructions in the Discovered app UI then the application will not be able to be recovered.

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)?
3

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. Create RDR test env
2. Create app on one of the managed clusters without using ACM
3. Using Discovered app UI assign DR policy and wait for PV replication and kube-object backups to be Healthy in Discovered apps status dashboard.
4. Initiate Failover


Actual results:
Message in Discovered apps UI tells user to delete app on cluster failing over from BEFORE WaitOnUserToCleanUp DRPC progression is present.

Expected results:
Message in Discovered apps UI tells user to delete app on cluster failing over from AFTER WaitOnUserToCleanUp DRPC progression is present.

Additional info:

Comment 4 Sanjal Katiyar 2024-06-26 06:38:13 UTC
Currently UI display this message only when DRPC `status.phase` reports it to be as "FailedOver" and `status.conditions` reports "Available" as true. We could add more checks on DRPC progression (WaitForReadiness & WaitOnUserToCleanUp), but might need UX inputs on what messages to display in between.

Since we are already in 4.16.0 RC phase and this doesn't seems to me like a release blocker, I am moving this to 4.16.z release.

Annette, if needed, can we add this to the documentation instead, until we fix it in the z-stream (or next release).

Comment 5 Annette Clewett 2024-06-26 15:53:52 UTC
@skatiyar I do not see adding this to the documentation for 4.16.0. This becomes an issue if the Failover (failover not working correctly) gets stuck in a DRPC progression other than WaitOnUserToCleanUp.

Comment 7 Sanjal Katiyar 2024-06-26 17:10:16 UTC
(In reply to Annette Clewett from comment #5)
> This becomes an issue if the Failover (failover not working
> correctly) gets stuck in a DRPC progression other than WaitOnUserToCleanUp.

Is it an edge case (given DRPC phase is already reported as "FailedOver" ^^) or it can happen quite often ??
^^ I can see here: https://github.com/red-hat-storage/ramen/blob/main/api/v1alpha1/drplacementcontrol_types.go#L53-L55, "FailedOver, state recorded in the DRPC status when the failover process has completed"


If latter and we absolutely need to fix it in "4.16.0" itself (not z-stream), then we need to raise this bug as a release blocker (we are already past blocker bugs fixing phase).

Comment 14 Sunil Kumar Acharya 2024-09-18 12:06:54 UTC
Please update the RDT flag/text appropriately.

Comment 17 errata-xmlrpc 2024-10-30 14:28:16 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: Red Hat OpenShift Data Foundation 4.17.0 Security, Enhancement, & Bug Fix 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-2024:8676


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