Bug 2155834

Summary: block/mirroring : Images table : Column - Entries behind primary is just specific to journal based mirroring
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-DashboardAssignee: Pere Diaz Bou <pdiazbou>
Status: CLOSED ERRATA QA Contact: Sunil Angadi <sangadi>
Severity: high Docs Contact: Disha Walvekar <dwalveka>
Priority: medium    
Version: 5.3CC: ceph-eng-bugs, cephqe-warriors, dwalveka, kdreyer, nia, pdiazbou, sangadi, sostapov, tserlin
Target Milestone: ---   
Target Release: 6.1z4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-175.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-08 18:11:11 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:    
Bug Blocks: 2261930    
Attachments:
Description Flags
Dashboard snapshot none

Description Vasishta 2022-12-22 14:42:01 UTC
Created attachment 1934117 [details]
Dashboard snapshot

Description of problem:
We display a column in images tables of mirroring page in our dashboard named "Entries behind primary". This is specific to journal based mirroring.

Either display Not Applicable or Display snapshot based mirroring specific information.

Version-Release number of selected component (if applicable):
16.2.10-84.el8cp


Steps to Reproduce:
1. Configure snapshot based mirroring inbetween two clusters with some images and check mirroring page in dashboard

Actual results:
(Mentioned above)

Expected results:
Accurate/apt information

Additional info:
information specific to rbd-mirroring
[root@e22-h20-b02-fc640 ~]# rbd mirror image status test_mirror/set_2_image_9 --debug-rbd 0
set_2_image_9:
  global_id:   ce59f3b9-986c-4641-9869-f69c6516e798
  state:       up+stopped
  description: local image is primary
  service:     e22-h24-b01-fc640.xrklhe on xxx.xxxx.xxx.com
  last_update: 2022-12-22 14:39:13
  peer_sites:
    name: site-a
    state: up+replaying
    description: replaying, {"bytes_per_second":0.0,"bytes_per_snapshot":0.0,"local_snapshot_timestamp":1671719511,"remote_snapshot_timestamp":1671719511,"replay_state":"idle"}
    last_update: 2022-12-22 14:39:02
  snapshots:
    1924390 .mirror.primary.ce59f3b9-986c-4641-9869-f69c6516e798.1940dbe6-cf35-43bb-bb24-935e2472a013 (peer_uuids:[cf28d399-a04f-49ac-a62b-5de6ff3e21eb])



Ref - https://github.com/ceph/ceph/blob/main/src/pybind/mgr/dashboard/controllers/rbd_mirroring.py#L234-L238

Comment 6 Scott Ostapovicz 2023-07-12 13:02:53 UTC
Missed the 6.1 z1 window.  Retargeted to 6.1 z2.

Comment 20 errata-xmlrpc 2024-02-08 18:11:11 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 (Red Hat Ceph Storage 6.1 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/RHBA-2024:0747

Comment 21 Red Hat Bugzilla 2024-06-08 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days