As a monitoring user i need a new metric with information about the replication status for each image and detailed information about sync schedule and status. The "productor" of this metric will be the prometheus manager module The source of the information is the RADOS information stored in the ceph cluster that can be obtained using the CLI commands: rbd mirror image status POOL_NAME/IMAGE_NAME The information about last snapshot synchronization must stored by the RBD mirror daemon Example: ceph_rbd_mirror_image_state { image: pool: local_site: peer_site: mode: (journal/snapshot) snap_last_sync: timestamp of the last sync operation snap_last_sync_duration: time used to execute the last sync snap_last_bytes_transferred: number of bytes transfer on last sync operation snap_next_sync: timestamp of the next sync operation } = (0 = Unknown,1 = Error,2 = Syncing,3 = Starting Replay,4 = Replaying,5 = Stopping Replay,6 = Stopped) Observations: "last_sync_duration", "last_sync_duration", "last_bytes_transferred" are information that must be updated by the RBD mirror daemon when it updates the "last_sync" field after each sync operation.
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