Bug 2345723 - Wrong "stopped" mirroringStatus summary in radosnamespace [8.0z]
Summary: Wrong "stopped" mirroringStatus summary in radosnamespace [8.0z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.0z3
Assignee: Ilya Dryomov
QA Contact: Sunil Angadi
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-14 12:48 UTC by Ilya Dryomov
Modified: 2025-04-07 15:26 UTC (History)
7 users (show)

Fixed In Version: ceph-19.2.0-102.el9cp
Doc Type: Bug Fix
Doc Text:
.Using the `rbd mirror pool status` command on a non-default namespace now displays the correct status Previously, in some cases, using the `rbd mirror pool status` command on a non-default namespace could erroneously report images as `stopped`, when the correct status was `replaying`. As a result, this could lead to user confusion, as running the same command on the default namespace image reported as `replaying`. With this fix, the implementation defect is corrected and running the `rbd mirror pool status` command on a non-default namespace no longer reports images as `stopped` when the correct status is `replaying`.
Clone Of: 2345721
Environment:
Last Closed: 2025-04-07 15:26:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 69911 0 None None None 2025-02-14 12:48:27 UTC
Red Hat Issue Tracker RHCEPH-10625 0 None None None 2025-02-14 12:49:43 UTC
Red Hat Product Errata RHSA-2025:3635 0 None None None 2025-04-07 15:26:30 UTC

Description Ilya Dryomov 2025-02-14 12:48:28 UTC
+++ This bug was initially created as a clone of Bug #2345721 +++

Description of problem:

During ODF RDR testing it is observed that the mirroringStatus summary in cephblockpoolradosnamespace is not reporting correctly in the primary cluster.


% oc -n openshift-storage get cephblockpoolradosnamespaces cephradosnamespace-28efdf0053560d3253fc69d7661f3fd9 -o=jsonpath='{.status.mirroringStatus}'| jq
{
  "lastChecked": "2025-02-14T12:25:29Z",
  "summary": {
    "daemon_health": "OK",
    "health": "OK",
    "image_health": "OK",
    "states": {
      "stopped": 10
    }
  }
}

There are 10 primary images in the cluster from where the above output is taken. Mirroring is actually enabled.

In the secondary cluster, the status is showing correctly - "replaying": 10

This is initially reported in the ODF bug https://issues.redhat.com/browse/DFBUGS-1525
----------------------------

Version-Release number of selected component (if applicable):
% oc rsh rook-ceph-tools-7c9674cd97-l95gz ceph version
ceph version 19.2.0-53.el9cp (677d8728b1c91c14d54eedf276ac61de636606f8) squid (stable)

ODF 4.18.0-114
OCP 4.18.0-rc.1

How reproducible:
3/3


Steps to Reproduce:
1. On a ODF provider mode setup where RDR is configured, create and protect an RBD based application. 

2. Check the MirroringStatus in the cephblockpoolradosnamespace CR.

Actual results:
mirroringStatus summary in cephblockpoolradosnamespace is showing stopped counts in the primary cluster

Expected results:
mirroringStatus summary in cephblockpoolradosnamespace should report the count correctly

Additional info:

Comment 14 errata-xmlrpc 2025-04-07 15:26:27 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 (Important: Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), 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-2025:3635


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