Bug 2106421 - [rbd-mirror]: mirror image status : non-primary : description : syncing_percent showing invalid value (3072000)
Summary: [rbd-mirror]: mirror image status : non-primary : description : syncing_perce...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 5.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.1
Assignee: N Balachandran
QA Contact: Vasishta
Akash Raj
URL:
Whiteboard:
Depends On: 2180567
Blocks: 2192813
TreeView+ depends on / blocked
 
Reported: 2022-07-12 16:32 UTC by Vasishta
Modified: 2023-06-15 09:16 UTC (History)
8 users (show)

Fixed In Version: ceph-17.2.6-5.el9cp
Doc Type: Bug Fix
Doc Text:
.Set the `syncing_percent` value to `0` Previously, when an image snapshot copy was interrupted and restarted, the `rbd-mirror` would not have details of the last object copied for that image. The `syncing_percent` calculation, which relies on this information, returned an invalid percentage value. With this fix, if the information about the last object is unavailable, you can set the `syncing_percent` to `0` until the last object copied is updated.
Clone Of:
Environment:
Last Closed: 2023-06-15 09:15:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 58706 0 None None None 2023-02-13 13:23:44 UTC
Red Hat Issue Tracker RHCEPH-4743 0 None None None 2022-07-12 16:38:28 UTC
Red Hat Product Errata RHSA-2023:3623 0 None None None 2023-06-15 09:16:56 UTC

Description Vasishta 2022-07-12 16:32:50 UTC
Description of problem:
1) created two clusters, created 26 images both the sides, ran some IOs
Created 76 more images on one of the sites (site-a)

2) Observed that one of the non-primary image at site-a snapshot schedule stuck - Could be because of BZ 2102061

3) All secondary images in site-a were reported error - BZ 2105308

4) site-b had laggy osds and some undersized pgs by 1 replica. Scaled up and uppgraded twice to latest build of rhcs 5.2 (just 2-3 builds ahead).

5) all error ful reports in site-a were gone.

6) the observed secondary snapshot creation (as mentioned in above point 2) was still stuck.
Tried restarting of mgr as a workaround. Did not work.

**Tried image resync**

Then observed that syncing_percent in description part of rbd mirror image status was stuck at 3072000

Version-Release number of selected component (if applicable):
16.2.8-71.el8cp

How reproducible:
Tried once 

Steps to Reproduce:
MEntioned in description

Actual results:
syncing_percent displaying abnormal values.

Expected results:
Percentage field to reflect valid information.

Additional info:

Comment 19 errata-xmlrpc 2023-06-15 09:15:33 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.