Bug 2139835
| Summary: | ramen-dr-cluster ManifestWork does not reconcile properly | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Jason Kincl <jkincl> |
| Component: | odf-dr | Assignee: | Elena Gershkovich <egershko> |
| odf-dr sub component: | ramen | QA Contact: | Pratik Surve <prsurve> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | aclewett, egershko, jcall, kseeger, muagarwa, nberry, nsoffer, odf-bz-bot, rtalur, srangana |
| Version: | 4.11 | Flags: | egershko:
needinfo-
egershko: needinfo- kseeger: needinfo- |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.16.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 4.16.0-71 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-17 13:10:39 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
Jason Kincl
2022-11-03 15:11:05 UTC
Current Workaround:
If the ManifestWork on the ACM Hub cluster for ramen-dr-cluster is deleted it is not recreated by the operator.
You can "kickstart" a reconcile operation by the operator by editing the ConfigMap on the hub cluster ramen-hub-operator-config:
$ oc edit configmap ramen-hub-operator-config -n openshift-operators
[...]
apiVersion: v1
data:
ramen_manager_config.yaml: |
apiVersion: ramendr.openshift.io/v1alpha1
drClusterOperator:
catalogSourceName: redhat-operators
catalogSourceNamespaceName: openshift-marketplace
channelName: stable-4.11
clusterServiceVersionName: odr-cluster-operator.v4.11.3
deploymentAutomationEnabled: true
namespaceName: openshift-dr-system
[...]
Change 'deploymentAutomationEnabled' to 'false' and save change. Edit configmap again and modify 'deploymentAutomationEnabled' back to true.
Check that the 'ramen-dr-cluster' ManifestWork is created again in the correct managedcluster namespace (wherever it was deleted from):
$ oc get manifestworks.work.open-cluster-management.io -A | grep ramen
cluster1 ramen-dr-cluster 6d21h
cluster2 ramen-dr-cluster 33s
Moving the verification to 4.15 as this is a low severity bug. Not a 4.15 blocker 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.16.0 security, enhancement & 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-2024:4591 |