Project

General

Profile

Actions

Bug #43428

closed

rbd-mirror daemons don't logrotate correctly

Added by Oliver Freyermuth over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus,mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently, /etc/logrotate.d/ceph shipped with ceph-base has the following postrotate command:

killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw" || true

rbd-mirror is missing here, and expectedly new log files stay empty after the old one was rotated.
I did not yet test whether rbd-mirror responds to SIGHUP correctly, but potentially the fix is as easy as adding it to the list.


Related issues 3 (0 open3 closed)

Copied to rbd - Backport #43498: mimic: rbd-mirror daemons don't logrotate correctlyResolvedMykola GolubActions
Copied to rbd - Backport #43499: luminous: rbd-mirror daemons don't logrotate correctlyResolvedMykola GolubActions
Copied to rbd - Backport #43500: nautilus: rbd-mirror daemons don't logrotate correctlyResolvedMykola GolubActions
Actions

Also available in: Atom PDF