Actions
Bug #51318
closedcephfs-mirror: do not terminate on SIGHUP
% Done:
0%
Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
So, utilities such as logrotate would send SIGHUP to the daemon which would terminate it. This is being seen in some of the testing that being done.
But, the logrotate.conf that ceph uses looks like::
/var/log/ceph/*.log { rotate 7 daily compress sharedscripts postrotate killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror" || true endscript missingok notifempty su root ceph }
... which does not have an entry for cephfs-mirror. So, not sure why the mirror daemon would get terminated each day. But the daemon should handle SIGHUP anyway.
Actions