Bug 2183478

Summary: [MDR][UI] Cannot relocate subscription based apps, Appset based apps are possible to relocate
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Parikshith <pbyregow>
Component: management-consoleAssignee: gowtham <gshanmug>
Status: CLOSED ERRATA QA Contact: Parikshith <pbyregow>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.13CC: gshanmug, hnallurv, ocs-bugs, odf-bz-bot, tdesala
Target Milestone: ---Keywords: Regression
Target Release: ODF 4.13.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-21 15:25:01 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 Parikshith 2023-03-31 10:00:45 UTC
Created attachment 1954856 [details]
relocate

Description of problem (please be detailed as possible and provide log
snippests):
On MDR 4.13 setup, not able to relocate subscription based apps through UI. (see screen shot)

Both clusters are available/unfenced. Unfenced cluster was gracefully reboot prior trying relocate.

$oc get drcluster.ramendr.openshift.io pbyregow-c1 -o jsonpath='{.status.phase}{"\n"}'

Unfenced

$oc get drcluster.ramendr.openshift.io pbyregow-c2 -o jsonpath='{.status.phase}{"\n"}'

Available

subscription based app drpc:
NAME                     AGE   PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION          PEER READY
b-s-1-placement-1-drpc   22m   pbyregow-c1        pbyregow-c2       Failover       FailedOver     Completed     2023-03-31T08:49:32Z   2m57.207714471s   True

Appset based apps are possible to relocate via UI
oc get drpc -n openshift-gitops -o wide
NAME                   AGE   PREFERREDCLUSTER   FAILOVERCLUSTER   DESIREDSTATE   CURRENTSTATE   PROGRESSION   START TIME             DURATION          PEER READY
b-a-1-placement-drpc   22m   pbyregow-c1        pbyregow-c2       Relocate       Relocated      Completed     2023-03-31T09:02:47Z   3m34.447245191s   True

Version of all relevant components (if applicable):
ocp: 4.13.0-0.nightly-2023-03-29-235439
odf-operator: v4.13.0-121.stable
odr-operator: v4.13.0-121.stable

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
No, can relocate via cli.

Is there any workaround available to the best of your knowledge?
Can relocate it via cli, action: Relocate

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
2

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:
yes, works on 4.12.1 and 4.12.2

Steps to Reproduce:
1. Configure 3 ocp 4.13 clusters. hub, c1 and c2.
2. Configure MDR
3. Deploy subscription and appset based apps on c1. Assign drpolicy for both.
4. Fence c1 and failover apps to c2 via ui.
5. Unfence and graceful reboot c1. 
6. Relocate subscription based app to c1 via UI.

Actual results:
Cannot relocate subscription based app

Expected results:
Subscription apps should be allowed to relocated via UI

Additional info:

Comment 17 errata-xmlrpc 2023-06-21 15:25:01 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 (Red Hat OpenShift Data Foundation 4.13.0 enhancement and 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/RHBA-2023:3742

Comment 18 Red Hat Bugzilla 2023-12-08 04:33:00 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days