Bug 2019909 - [rbd-mirror] mirror image status - syncing_percent locked at 4 for an image of 50G+ during the sync
Summary: [rbd-mirror] mirror image status - syncing_percent locked at 4 for an image o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.2
Assignee: Ilya Dryomov
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks: 2102272
TreeView+ depends on / blocked
 
Reported: 2021-11-03 15:41 UTC by Vasishta
Modified: 2022-08-09 17:37 UTC (History)
5 users (show)

Fixed In Version: ceph-16.2.8-65.el8cp
Doc Type: Bug Fix
Doc Text:
.`last_copied_object_number` value is properly updated for all images Previously, due to an implementation defect, `last_copied_object_number` value was properly updated only for fully allocated images. This caused the `last_copied_object_number` value to be incorrect for any sparse image and the image replication progress to be lost in case of abrupt rbd-mirror daemon restart. With this fix, `last_copied_object_number` value is properly updated for all images and upon rbd-mirror daemon restart, image replication resumes from where it had previously stopped.
Clone Of:
Environment:
Last Closed: 2022-08-09 17:36:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 56181 0 None None None 2022-06-23 09:51:14 UTC
Red Hat Issue Tracker RHCEPH-2166 0 None None None 2021-11-03 15:43:43 UTC
Red Hat Product Errata RHSA-2022:5997 0 None None None 2022-08-09 17:37:11 UTC

Description Vasishta 2021-11-03 15:41:54 UTC
Description of problem:
syncing_percent in description line got stuck at 4 in mirror image status thought the sync of 50G+ image in snapshot based mirroring

Version-Release number of selected component (if applicable):
16.2.6-15.el8cp

How reproducible:
Tried once, Will try further

Steps to Reproduce:
1. create an image and fill 50+g data
2. configure rbd mirroring with another cluster
3. enable snapshot based mirroring on the image
4. Observe the mirror image status

Actual results:
syncing_percent gets stuck at 4 throughout the sync (observed from 1 to 4)

Expected results:
syncing_percent should get updated as per the progress

Additional info:

Comment 9 Gopi 2022-07-05 04:36:29 UTC
Working as expected with latest build. Hence moving to verified state.

Comment 15 errata-xmlrpc 2022-08-09 17:36:41 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


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