Bug 2054131

Summary: Hub recovery labels not available on MirrorPeers
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Vineet <vbadrina>
Component: odf-drAssignee: Vineet <vbadrina>
odf-dr sub component: multicluster-orchestrator QA Contact: Shrivaibavi Raghaventhiran <sraghave>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: kramdoss, madam, mmuench, muagarwa, ocs-bugs, odf-bz-bot, rperiyas, sraghave
Version: 4.10   
Target Milestone: ---   
Target Release: ODF 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.10.0-171 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-21 09:12:45 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 Vineet 2022-02-14 09:14:10 UTC
Description of problem (please be detailed as possible and provide log
snippests):

There are no hub recovery labels available on mirrorpeers which is required for ACM backup and restore.

cluster.open-cluster-management.io/backup

Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?
Add the label

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

Can this issue reproducible?
Yes


Steps to Reproduce:
1. Create a DR setup
2. Create mirrorpeer 
3. Check its labels


Actual results:
No `cluster.open-cluster-management.io/backup` label found.

Expected results:
`cluster.open-cluster-management.io/backup` label should be found.

Comment 5 Shrivaibavi Raghaventhiran 2022-03-09 08:22:47 UTC
Tested on version:
-----------------------
image: quay.io/rhceph-dev/ocs-registry:4.10.0-175

The labels are added in mirrorpeer
$ oc get mirrorpeer -n openshift-dr-system --show-labels
NAME                AGE    LABELS
mirrorpeer-sample   6d1h   cluster.open-cluster-management.io/backup=resource,control-plane=odfmo-controller-manager

Hence moving it to verified