Bug 2120962 - [RDR] When drpc status is already relocated, the status doesn't get into 'initiating' when another such operation is performed
Summary: [RDR] When drpc status is already relocated, the status doesn't get into 'ini...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-dr
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.12.0
Assignee: Benamar Mekhissi
QA Contact: kmanohar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-24 07:31 UTC by Aman Agrawal
Modified: 2023-08-09 17:00 UTC (History)
6 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github RamenDR ramen pull 606 0 None open Fix progression when failing over or relocating for the second time 2022-11-14 13:10:59 UTC

Comment 4 Benamar Mekhissi 2022-11-13 14:49:32 UTC
https://github.com/RamenDR/ramen/pull/606

Comment 8 kmanohar 2022-12-19 09:30:41 UTC
VERIFICATION COMMENTS

Steps to Reproduce:
1. On a RDR setup, perform a relocate operation and monitor the drpc status. It changes from Deployed to Initiating to Relocating.
2. Wait for the relocate to complete.
3. Perform another relocate operation, this time the drpc status doesn't get into Initiating phase.


Actual results: When drpc status is already relocated, the status doesn't get into 'initiating' when another such operation is performed


Expected results: The status should get into Initiating phase before moving to Relocating.
Both the UI and yaml on CLI should reflect this change.


____________________________________________________________________________________________________________

drpc moves to relocate state on performing subsequent relocates

relocate 1:
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION          START TIME             DURATION   PEER READY
busybox-drpc   7d2h   kmanohar-clu1                        Relocate       Initiating     PreparingFinalSync   2022-12-19T08:47:12Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION         START TIME             DURATION   PEER READY
busybox-drpc   7d2h   kmanohar-clu1                        Relocate       Relocating     MovingToSecondary   2022-12-19T08:47:12Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION          PEER READY
busybox-drpc   7d2h   kmanohar-clu1                        Relocate       Relocated      Completed     2022-12-19T08:47:12Z   2m57.930727287s   True

relocate 2:

NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION          START TIME             DURATION   PEER READY
busybox-drpc   7d2h   kmanohar-clu2                        Relocate       Initiating     PreparingFinalSync   2022-12-19T08:58:35Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION        START TIME             DURATION   PEER READY
busybox-drpc   7d2h   kmanohar-clu2                        Relocate       Relocating     RunningFinalSync   2022-12-19T08:58:35Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION   PEER READY
busybox-drpc   7d2h   kmanohar-clu2                        Relocate       Relocated      Cleaning Up   2022-12-19T08:58:35Z              False
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION          PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocated      Completed     2022-12-19T08:58:35Z   2m25.637827308s   True
[kmanohar@kmanohar ~]$ 

relocate 3:
oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION          START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Initiating     PreparingFinalSync   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION          START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Initiating     PreparingFinalSync   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION        START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocating     RunningFinalSync   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION        START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocating     RunningFinalSync   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION         START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocating     MovingToSecondary   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION         START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocating     MovingToSecondary   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION         START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocating     MovingToSecondary   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION         START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocating     MovingToSecondary   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION         START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocating     MovingToSecondary   2022-12-19T09:26:52Z              True
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION   PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocated      Cleaning Up   2022-12-19T09:26:52Z              False
[kmanohar@kmanohar ~]$ oc get drpc busybox-drpc -o wide
NAME           AGE    PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION         PEER READY
busybox-drpc   7d3h   kmanohar-clu2                        Relocate       Relocated      Completed     2022-12-19T09:26:52Z   3m8.396824614s   True

Comment 10 kmanohar 2022-12-20 06:35:20 UTC
VERIFICATION COMMENTS:-

Verified build - 4.12.0-122
ACM - 2.7


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