Bug 2007202

Summary: VolumeReplication condition "Degraded" never moves to "False" when recovering from a split brain
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Madhu Rajanna <mrajanna>
Component: odf-drAssignee: Madhu Rajanna <mrajanna>
odf-dr sub component: volume-replication-operator QA Contact: Pratik Surve <prsurve>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: kramdoss, madam, muagarwa, ocs-bugs, odf-bz-bot, rcyriac, srangana, tdesala
Version: 4.9   
Target Milestone: ---   
Target Release: ODF 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.9.0-182.ci Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2007212 (view as bug list) Environment:
Last Closed: 2021-12-13 17:46:30 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:
Bug Depends On:    
Bug Blocks: 2007212    

Description Madhu Rajanna 2021-09-23 10:49:56 UTC
Description of problem (please be detailed as possible and provide log
snippests):

VolumeReplication statuc condition "Degraded" never moves to "False" when recovering from a split-brain of rbd image.


Version of all relevant components (if applicable):

4.9

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

Yes



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


Steps to Reproduce: 
 (these are the reproducer steps without Ramen)

* Create PVC in cluster1 (using rbd as the provisioner

* Create VR pointing to PVC above and the state as "Primary" (in cluster1)
* Ensure image on both clusters in rbd are present (using toolbox)
* Copy PV backing PVC on cluster1 to cluster2
* Create the same PVC on cluster2
* Ensure it is bound to the PV
* Create VR on cluster2, pointing to the PVC above, and the state as "Primary"
* Update VR on cluster1 to "Secondary"

Wait for VR conditions to reach the state (Completed:True; Resyncing:True; Degraded:False, for the current generation number (usually 2 in this test case))
VolRepl does not change "Degraded" to False at all, it remains "True"
Checked backend ceph image mirror status (or image info) on cluster1 and image reaches "state: up+replaying"


Actual results:

The degraded condition is not setting to False once split-brain is corrected


Expected results:

The degraded condition is set to False once split-brain is corrected

Comment 9 errata-xmlrpc 2021-12-13 17:46:30 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 (Moderate: Red Hat OpenShift Data Foundation 4.9.0 enhancement, security, and 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-2021:5086