Bug 2128142
| Summary: | [MDR]VRG does not report DataReady if there are no PVCs protected in a MetroDR | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Amarnath <amk> |
| Component: | odf-dr | Assignee: | Shyamsundar <srangana> |
| odf-dr sub component: | ramen | QA Contact: | avdhoot <asagare> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | high | CC: | akrai, ebenahar, hnallurv, kseeger, mmuench, muagarwa, odf-bz-bot, rgowdege, rtalur, sheggodu, srangana |
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Target Release: | ODF 4.16.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.16.0-124 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-17 13:10:29 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
Amarnath
2022-09-20 04:25:24 UTC
Moving out of 4.13 as per comment #21 *** Bug 2259203 has been marked as a duplicate of this bug. ***
After discussion with dev I tried WA by creating drpc using cli but while doing relocation of app it stuck in initiating state
due to Protected status is not true in drpc.
drpc status before initiating relocate-
========================================
status:
actionDuration: 11.861792359s
actionStartTime: "2024-05-23T12:37:43Z"
conditions:
- lastTransitionTime: "2024-05-23T12:37:27Z"
message: Initial deployment completed
observedGeneration: 1
reason: Deployed
status: "True"
type: Available
- lastTransitionTime: "2024-05-23T12:37:27Z"
message: Ready
observedGeneration: 1
reason: Success
status: "True"
type: PeerReady
- lastTransitionTime: "2024-05-23T12:37:27Z"
message: VolumeReplicationGroup (helloword-ns/helloworldsub-placement-1-drpc)
on cluster asagare-cl1 is not reporting any status about workload resources
readiness, retrying till ClusterDataReady condition is met
observedGeneration: 1
reason: Unknown
status: Unknown
type: Protected
lastUpdateTime: "2024-05-23T12:37:54Z"
observedGeneration: 1
phase: Deployed
preferredDecision:
clusterName: asagare-cl1
clusterNamespace: asagare-cl1
progression: Completed
resourceConditions:
resourceMeta:
generation: 1
kind: VolumeReplicationGroup
name: helloworldsub-placement-1-drpc
namespace: helloword-ns
drpc status after initiating relocate-
========================================
status:
actionStartTime: "2024-05-23T12:55:07Z"
conditions:
- lastTransitionTime: "2024-05-23T12:55:07Z"
message: current cluster (asagare-cl1) has not completed protection actions
observedGeneration: 2
reason: Initiating
status: "False"
type: Available
- lastTransitionTime: "2024-05-23T12:37:27Z"
message: Ready
observedGeneration: 2
reason: Success
status: "True"
type: PeerReady
- lastTransitionTime: "2024-05-23T12:55:07Z"
message: Missing VolumeReplicationGroup status from cluster asagare-cl2
observedGeneration: 2
reason: Unknown
status: Unknown
type: Protected
lastUpdateTime: "2024-05-23T12:55:07Z"
observedGeneration: 2
phase: Initiating
preferredDecision:
clusterName: asagare-cl1
clusterNamespace: asagare-cl1
resourceConditions:
resourceMeta:
generation: 0
kind: ""
name: ""
namespace: ""
Steps followed:
-----------------
1.Created app without pvc via UI
2.Created drpc using cli
3.tried to relocate via UI
Hence marking it as fail_QA.
The root cause for the failure seems to be the same as https://bugzilla.redhat.com/show_bug.cgi?id=2283651 which is being fixed for 4.16. I would suggest a retest using the CLI if possible post the above fix, to ensure that this use-case is also fixed. If not we can mark this for 4.17 and fix it correctly than depending on the Protected condition. 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 |