Bug 2120624 - don't leave an incomplete primary snapshot if the peer who is handling snapshot creation dies
Summary: don't leave an incomplete primary snapshot if the peer who is handling snapsh...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 6.1
Assignee: Prasanna Kumar Kalever
QA Contact: Vasishta
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2067095 2121514 2192813
TreeView+ depends on / blocked
 
Reported: 2022-08-23 11:52 UTC by Ilya Dryomov
Modified: 2023-06-15 09:16 UTC (History)
25 users (show)

Fixed In Version: ceph-17.2.6-26.el9cp
Doc Type: Bug Fix
Doc Text:
.Snapshot mirroring no longer halts permanently Previously, if a primary snapshot creation request was forwarded to rbd-mirror daemon when the rbd-mirror daemon was axed for some practical reason before marking the snapshot as complete, the primary snapshot would be permanently incomplete. This is because, upon retrying that primary snapshot creation request, `librbd` would notice that such a snapshot already existed. It would not check whether this "pre-existing" snapshot was complete or not. Due to this, the mirroring of snapshots was permanently halted. With this fix, as part of the next mirror snapshot creation, including being triggered by a scheduler, checks are made to ensure that any incomplete snapshots are deleted accordingly to resume the mirroring.
Clone Of: 2067095
: 2121514 (view as bug list)
Environment:
Last Closed: 2023-06-15 09:15:36 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5135 0 None None None 2022-08-23 11:55:52 UTC
Red Hat Product Errata RHSA-2023:3623 0 None None None 2023-06-15 09:16:26 UTC

Comment 24 Scott Ostapovicz 2023-02-06 16:55:32 UTC
 Missed the 5.3 z1 window.  Moving to 6.1.  Please advise if this is a problem.

Comment 38 errata-xmlrpc 2023-06-15 09:15:36 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 6.1 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-2023:3623


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