Bug 2081715

Summary: [RBD-Mirror] images are reporting as "up+error" and description as "failed to unlink local peer from remote image" after failover operation
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Gopi <gpatta>
Component: RBD-MirrorAssignee: Ilya Dryomov <idryomov>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.1CC: akraj, ceph-eng-bugs, dupadhya, idryomov, mhull, tserlin, vereddy
Target Milestone: ---Keywords: TestBlocker
Target Release: 5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.8-55.el8cp Doc Type: Bug Fix
Doc Text:
.Replay or resync is no longer attempted if the remote image is not primary Previously, due to an implementation defect, replay or resync would be attempted even if the remote image was not primary, that is, there is nowhere to replay or resync from. This caused the snapshot-based mirroring to run into a livelock and to continuously report "failed to unlink local peer from remote image" error. With this fix, the implementation defect is fixed and replay or resync is not attempted if the remote image is not primary, thereby no errors are reported.
Story Points: ---
Clone Of:
: 2100520 (view as bug list) Environment:
Last Closed: 2022-08-09 17:38:23 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: 2077954, 2077960, 2093690, 2102272    

Comment 8 Ilya Dryomov 2022-06-22 14:35:25 UTC
*** Bug 2077954 has been marked as a duplicate of this bug. ***

Comment 14 Gopi 2022-06-24 13:09:00 UTC
Tested with latest build and issue is not reproduced. Hence moving this bug to verified state.

ceph version 16.2.8-57.el8cp (30397796cae6dcd69853f86144a9eb492d958010) pacific (stable)

Comment 20 errata-xmlrpc 2022-08-09 17:38:23 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 Ceph Storage Security, Bug Fix, and Enhancement 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:5997

Comment 21 Ilya Dryomov 2022-08-23 12:05:05 UTC
*** Bug 2077960 has been marked as a duplicate of this bug. ***