Bug 2298653 - cephfs_mirror: fix mirror daemon doesn't restart when blocklisted or failed
Summary: cephfs_mirror: fix mirror daemon doesn't restart when blocklisted or failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 7.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 7.1z2
Assignee: Jos Collin
QA Contact: Hemanth Kumar
URL:
Whiteboard:
Depends On:
Blocks: 2303865
TreeView+ depends on / blocked
 
Reported: 2024-07-18 11:13 UTC by Jos Collin
Modified: 2024-11-07 14:39 UTC (History)
6 users (show)

Fixed In Version: ceph-18.2.1-235.el9cp
Doc Type: Bug Fix
Doc Text:
Previously, the calculated time difference led to negative seconds and never reached the threshold interval resulting in the mirror daemon not restarting when blocklisted or failed. With this fix, the time difference calculation is corrected.
Clone Of:
: 2303865 (view as bug list)
Environment:
Last Closed: 2024-11-07 14:39:44 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 51964 0 None None None 2024-07-18 11:13:26 UTC
Ceph Project Bug Tracker 63089 0 None None None 2024-07-18 11:13:26 UTC
Ceph Project Bug Tracker 63931 0 None None None 2024-07-18 11:13:26 UTC
Ceph Project Bug Tracker 64927 0 None None None 2024-07-18 11:13:26 UTC
Github ceph ceph pull 58632 0 None open reef: cephfs_mirror, qa: fix mirror daemon doesn't restart when blocklisted or failed 2024-07-18 11:13:26 UTC
Red Hat Issue Tracker RHCEPH-9358 0 None None None 2024-07-18 11:14:06 UTC
Red Hat Product Errata RHBA-2024:9010 0 None None None 2024-11-07 14:39:51 UTC

Description Jos Collin 2024-07-18 11:13:27 UTC
Description of problem:
cephfs_mirror daemon doesn't restart when it's blocklisted or failed.

Version-Release number of selected component (if applicable):
7.1

How reproducible:
Always

Steps to Reproduce:
1. Make cephfs_mirror daemon blocklisted or failed (Better use a QA test that blocklists or fails mirror daemon).
2. Check the logs.
3. The mirror daemon doesn't restart as mentioned here: https://github.com/ceph/ceph/blob/main/src/tools/cephfs_mirror/Mirror.cc#L569-L572

Actual results:
Mirror daemon doesn't restart.

Expected results:
Mirror daemon should restart when blocklisted or failed.

Additional info:

Comment 7 errata-xmlrpc 2024-11-07 14:39:44 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 7.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/RHBA-2024:9010


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