Bug 2007202 - VolumeReplication condition "Degraded" never moves to "False" when recovering from a split brain
Summary: VolumeReplication condition "Degraded" never moves to "False" when recovering...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-dr
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ODF 4.9.0
Assignee: Madhu Rajanna
QA Contact: Pratik Surve
URL:
Whiteboard:
Depends On:
Blocks: 2007212
TreeView+ depends on / blocked
 
Reported: 2021-09-23 10:49 UTC by Madhu Rajanna
Modified: 2023-08-09 17:00 UTC (History)
8 users (show)

Fixed In Version: v4.9.0-182.ci
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2007212 (view as bug list)
Environment:
Last Closed: 2021-12-13 17:46:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage volume-replication-operator pull 10 0 None open BUG 2007202: Update conditions to reflect degraded and resyncing 2021-09-24 15:55:21 UTC
Red Hat Product Errata RHSA-2021:5086 0 None None None 2021-12-13 17:46:50 UTC

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


Note You need to log in before you can comment on or make changes to this bug.