Bug 2049727

Summary: [DR] Mirror Peer stuck in ExchangingSecret State
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Pratik Surve <prsurve>
Component: odf-drAssignee: Pranshu Srivastava <prasriva>
odf-dr sub component: multicluster-orchestrator QA Contact: Aman Agrawal <amagrawa>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: unspecified CC: kramdoss, madam, mashetty, muagarwa, ocs-bugs, odf-bz-bot, prasriva, uchapaga
Version: 4.10Keywords: AutomationTriaged, TestBlocker
Target Milestone: ---   
Target Release: ODF 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.10.0-141 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-13 18:52:41 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 Pratik Surve 2022-02-02 15:44:05 UTC
Description of problem (please be detailed as possible and provide log
snippests):
[DR] Mirror Peer stuck in ExchangingSecret State


Version of all relevant components (if applicable):

ODF version:- full_version=4.10.0-137
OCP version:- 4.10.0-0.nightly-2022-01-31-012936

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?


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

Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Deploy DR cluster
2. Deploy ODF over them
3. Create multiclusteroperator
4. Create mirror peer


Actual results:
2022-02-02T09:09:24.738Z	INFO	controller-runtime.manager.controller.mirrorpeer	Source secret not found	{"reconciler group": "multicluster.odf.openshift.io", "reconciler kind": "MirrorPeer", "name": "mirrorpeer-sample", "namespace": "", "Secret": "2e9583b9a3f92f843095ddf0c1893ffec536e48"}
2022-02-02T09:09:24.739Z	ERROR	controller-runtime.manager.controller.mirrorpeer	Failed to find valid source secret	{"reconciler group": "multicluster.odf.openshift.io", "reconciler kind": "MirrorPeer", "name": "mirrorpeer-sample", "namespace": "", "PeerRef": {"clusterName":"vmware-dccp-one","storageClusterRef":{"name":"ocs-storagecluster","namespace":"openshift-storage"}}, "error": "Secret \"2e9583b9a3f92f843095ddf0c1893ffec536e48\" not found"}
github.com/red-hat-storage/odf-multicluster-orchestrator/controllers.(*MirrorPeerReconciler).Reconcile
	/remote-source/app/controllers/mirrorpeer_controller.go:146
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime.5/pkg/internal/controller/controller.go:298
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime.5/pkg/internal/controller/controller.go:253
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime.5/pkg/internal/controller/controller.go:214
2022-02-02T09:09:24.739Z	INFO	controller-runtime.manager.controller.mirrorpeer	Secrets not found; Attempting to reconcile again	{"reconciler group": "multicluster.odf.openshift.io", "reconciler kind": "MirrorPeer", "name": "mirrorpeer-sample", "namespace": ""}

Expected results:


Additional info:

Comment 4 umanga 2022-02-02 16:51:27 UTC
Providing devel_ack+ as this is a known issue. Fix is merged in main and waiting for backport.

Comment 13 errata-xmlrpc 2022-04-13 18:52:41 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.10.0 enhancement, security & 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-2022:1372