Bug 2303865 - 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: 8.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 8.0
Assignee: Jos Collin
QA Contact: Hemanth Kumar
URL:
Whiteboard:
: 2303788 (view as bug list)
Depends On: 2298653
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2024-08-09 15:00 UTC by Jos Collin
Modified: 2024-11-25 09:05 UTC (History)
8 users (show)

Fixed In Version: ceph-19.1.1-3.el9cp
Doc Type: Bug Fix
Doc Text:
.Mirror daemon can now restart when blocklisted or fails Previously, the time difference taken would lead to negative seconds and never reach the threshold interval. As a result, the mirror daemon would not restart when blocklisted or failed. With this fix, the time difference calculation is corrected.
Clone Of: 2298653
Environment:
Last Closed: 2024-11-25 09:05:31 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-08-09 15:00:06 UTC
Ceph Project Bug Tracker 63089 0 None None None 2024-08-09 15:00:06 UTC
Ceph Project Bug Tracker 63931 0 None None None 2024-08-09 15:00:06 UTC
Ceph Project Bug Tracker 64927 0 None None None 2024-08-09 15:00:06 UTC
Github ceph ceph pull 58621 0 None Merged squid: cephfs_mirror, qa: fix mirror daemon doesn't restart when blocklisted or failed 2024-08-09 15:00:06 UTC
Red Hat Issue Tracker RHCEPH-9526 0 None None None 2024-08-23 07:10:09 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:05:35 UTC

Description Jos Collin 2024-08-09 15:00:07 UTC
+++ This bug was initially created as a clone of Bug #2298653 +++

Description of problem:
cephfs_mirror daemon doesn't restart when it's blocklisted or failed.

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

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 5 errata-xmlrpc 2024-11-25 09:05:31 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 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/RHBA-2024:10216


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