Bug 2345721 - Wrong "stopped" mirroringStatus summary in radosnamespace
Summary: Wrong "stopped" mirroringStatus summary in radosnamespace
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.1
Assignee: Ilya Dryomov
QA Contact: Sunil Angadi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-14 12:36 UTC by Jilju Joy
Modified: 2025-06-26 12:26 UTC (History)
4 users (show)

Fixed In Version: ceph-19.2.1-8.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:
: 2345723 (view as bug list)
Environment:
Last Closed: 2025-06-26 12:26:04 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:46:24 UTC
Red Hat Issue Tracker RHCEPH-10624 0 None None None 2025-02-14 12:37:43 UTC
Red Hat Product Errata RHSA-2025:9775 0 None None None 2025-06-26 12:26:07 UTC

Description Jilju Joy 2025-02-14 12:36:08 UTC
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 5 errata-xmlrpc 2025-06-26 12:26:04 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.1 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:9775


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