Bug 2295642

Summary: [RDR] [CephFS] Discovered Apps DRPC Progression does not stop at WaitOnUserToCleanup
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Annette Clewett <aclewett>
Component: odf-drAssignee: Raghavendra Talur <rtalur>
odf-dr sub component: ramen QA Contact: krishnaram Karthick <kramdoss>
Status: ASSIGNED --- Docs Contact:
Severity: unspecified    
Priority: unspecified CC: muagarwa
Version: 4.16   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Annette Clewett 2024-07-03 20:10:26 UTC
Description of problem (please be detailed as possible and provide log
snippests):
Discovered Apps using CephFS volumes DRPC Progression does not stop at WaitOnUserToCleanup for Failover or Relocate. Failover stops at Completed and Relocate stops at RunningFinalSync. In both cases the Discovered app needs to be manually deleted before DR action is really completed and replication starts again to Peer Cluster.

Version of all relevant components (if applicable):
OCP 4.16-ec6
ODF 4.16-134
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)?
Yes, it is not clear when app needs to be manually deleted.

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

Steps to Reproduce:
1. Create RDR test environment
2. Not using ACM, create busybox application using cephfs volume
3. Modify ramen configmap on hub cluster and add below (restart all ramen pods)
    multiNamespace:
      FeatureEnabled: true
      VolsyncSupported: true
4. Using Discovered app UI, apply DR Policy to busybox
5. Initiate Failover and then Relocate

Actual results:
Both Failover and Relocate succeed if for Failover the busybox app is deleted when DRPC Progression is Completed and for Relocate when DRPC Progression is RunningFinalSync.

Expected results:
Both Failover and Relocate succeed for Failover and Relocate if the busybox app is deleted when DRPC Progression is WaitForUserToCleanup.

Additional info: