Bug 2147348

Summary: [RFE] Add additional fields about image status in rbd mirror comands
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Juan Miguel Olmo <jolmomar>
Component: RBD-MirrorAssignee: Divyansh Kamboj <dkamboj>
Status: CLOSED ERRATA QA Contact: Sunil Angadi <sangadi>
Severity: high Docs Contact: Akash Raj <akraj>
Priority: high    
Version: 6.0CC: akraj, amagrawa, ceph-eng-bugs, cephqe-warriors, dkamboj, idryomov, kdreyer, ocs-bugs, sangadi
Target Milestone: ---Keywords: FutureFeature
Target Release: 6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
.More fields added to `rbd mirror status` command Previously, the `rbd mirror status` command lacked important information about the time taken to sync the bytes in the last snapshot, due to which monitoring and troubleshooting the mirroring process effectively was challenging. With this release, additional fields, such as `last_snapshot_bytes` and `last_snapshot_seconds` are added in the `rbd mirror status` command providing administrators with valuable information about the performance of the mirroring process. This enables efficient monitoring and troubleshooting snapshot-based mirroring operations.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-15 09:16:25 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: 2180567    
Bug Blocks: 2147346, 2192813    

Description Juan Miguel Olmo 2022-11-23 18:47:13 UTC
As result of the bug 2147345/US RHCEPH-5575 two new fields are available in the stored information in RADOS for each image:

snap_last_sync_duration: time used to execute the last sync
snap_last_bytes_transferred: number of bytes transfer on last sync operation

This information must be appear in the output of the two following commands:
rbd mirror pool status POOL_NAME --verbose

rbd mirror image status POOL_NAME/IMAGE_NAME

Comment 7 Ilya Dryomov 2023-04-03 15:00:06 UTC
*** Bug 2147345 has been marked as a duplicate of this bug. ***

Comment 8 Ken Dreyer (Red Hat) 2023-04-03 19:39:21 UTC
https://github.com/ceph/ceph/pull/50266 will be in v17.2.6

Comment 15 errata-xmlrpc 2023-06-15 09:16:25 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