Bug 2053517
| Summary: | [DR] Applications are not getting DR protected | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Pratik Surve <prsurve> |
| Component: | odf-dr | Assignee: | Shyamsundar <srangana> |
| odf-dr sub component: | ramen | QA Contact: | Shrivaibavi Raghaventhiran <sraghave> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | unspecified | CC: | kramdoss, madam, mbukatov, muagarwa, ocs-bugs, odf-bz-bot, rperiyas, sagrawal |
| Version: | 4.10 | Keywords: | TestBlocker |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.10.0-156 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-13 18:53:05 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: | |||
Tested Version: ----------------- OCP - 4.10.0-0.nightly-2022-03-16-165813 ODF - quay.io/rhceph-dev/ocs-registry:4.10.0-198 ACM - 2.4 Test Steps: ------------ 1. Install DR cluster 2. Install DR workloads 3. Check Ramen logs Went over the logs and no such error messages seen "message":"Failed to apply manifest work" as mentioned in the description, Failover and relocate was also a success. Hence moving the BZ to verified state. Ramen logs attached for reference. 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 |
Description of problem (please be detailed as possible and provide log snippets): [DR] Application are not getting DR protected VolumeReplicationGroup.ramendr.openshift.io "busybox-drpc" is invalid: spec.sync.mode: Unsupported value: "": supported Version of all relevant components (if applicable): ODF version:- full_version=4.10.0-151 OCP version:- 4.10.0-0.nightly-2022-02-10-161006 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? yes 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 DR Workload 3. check ramen logs Actual results: 2022-02-11T12:41:18.954Z INFO controllers.DRPlacementControl util/mw_util.go:134 ManifestWork exists. {"name": {"metadata":{"name":"busybox-drpc-2-busybox-workloads-2-vrg-mw","namespace":"vmware-dccp-one","creationTimestamp":null,"labels":{"app":"VRG"},"annotations":{"drplacementcontrol.ramendr.openshift.io/drpc-name":"busybox-drpc-2","drplacementcontrol.ramendr.openshift.io/drpc-namespace":"busybox-workloads-2"}},"spec":{"workload":{"manifests":[{"kind":"VolumeReplicationGroup","apiVersion":"ramendr.openshift.io/v1alpha1","metadata":{"name":"busybox-drpc-2","namespace":"busybox-workloads-2","creationTimestamp":null},"spec":{"pvcSelector":{"matchLabels":{"appname":"busybox"}},"replicationState":"primary","s3Profiles":["odr-s3secret-east","odr-s3secret-west"],"async":{"replicationClassSelector":{},"schedulingInterval":"5m","mode":"Enabled"},"sync":{"mode":""}},"status":{"lastUpdateTime":null}}]}},"status":{"resourceStatus":{}}}, "namespace": {"kind":"ManifestWork","apiVersion":"work.open-cluster-management.io/v1","metadata":{"name":"busybox-drpc-2-busybox-workloads-2-vrg-mw","namespace":"vmware-dccp-one","uid":"fd2ceb69-a246-4fb3-b34f-76fb78a262ac","resourceVersion":"362333","generation":1,"creationTimestamp":"2022-02-11T12:41:18Z","labels":{"app":"VRG"},"annotations":{"drplacementcontrol.ramendr.openshift.io/drpc-name":"busybox-drpc-2","drplacementcontrol.ramendr.openshift.io/drpc-namespace":"busybox-workloads-2"},"finalizers":["cluster.open-cluster-management.io/manifest-work-cleanup"],"managedFields":[{"manager":"manager","operation":"Update","apiVersion":"work.open-cluster-management.io/v1","time":"2022-02-11T12:41:18Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:drplacementcontrol.ramendr.openshift.io/drpc-name":{},"f:drplacementcontrol.ramendr.openshift.io/drpc-namespace":{}},"f:labels":{".":{},"f:app":{}}},"f:spec":{".":{},"f:workload":{".":{},"f:manifests":{}}}}},{"manager":"work","operation":"Update","apiVersion":"work.open-cluster-management.io/v1","time":"2022-02-11T12:41:18Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:conditions":{},"f:resourceStatus":{".":{},"f:manifests":{}}}}}]},"spec":{"workload":{"manifests":[{"kind":"VolumeReplicationGroup","apiVersion":"ramendr.openshift.io/v1alpha1","metadata":{"name":"busybox-drpc-2","namespace":"busybox-workloads-2","creationTimestamp":null},"spec":{"pvcSelector":{"matchLabels":{"appname":"busybox"}},"replicationState":"primary","s3Profiles":["odr-s3secret-east","odr-s3secret-west"],"async":{"replicationClassSelector":{},"schedulingInterval":"5m","mode":"Enabled"},"sync":{"mode":""}},"status":{"lastUpdateTime":null}}]}},"status":{"conditions":[{"type":"Applied","status":"False","observedGeneration":1,"lastTransitionTime":"2022-02-11T12:41:18Z","reason":"AppliedManifestWorkFailed","message":"Failed to apply manifest work"},{"type":"Available","status":"False","observedGeneration":1,"lastTransitionTime":"2022-02-11T12:41:18Z","reason":"ResourcesNotAvailable","message":"1 of 1 resources are not available"}],"resourceStatus":{"manifests":[{"resourceMeta":{"ordinal":0,"group":"ramendr.openshift.io","version":"v1alpha1","kind":"VolumeReplicationGroup","resource":"volumereplicationgroups","name":"busybox-drpc-2","namespace":"busybox-workloads-2"},"conditions":[{"type":"Applied","status":"False","lastTransitionTime":"2022-02-11T12:41:18Z","reason":"AppliedManifestFailed","message":"Failed to apply manifest: VolumeReplicationGroup.ramendr.openshift.io \"busybox-drpc-2\" is invalid: spec.sync.mode: Unsupported value: \"\": supported values: \"Enabled\", \"Disabled\""},{"type":"Available","status":"False","lastTransitionTime":"2022-02-11T12:41:18Z","reason":"ResourceNotAvailable","message":"Resource is not available"}]}]}}}} Expected results: Additional info: