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.
Updated by Venky Shankar almost 3 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 41988
Updated by Patrick Donnelly almost 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot almost 3 years ago
- Copied to Backport #51413: pacific: cephfs-mirror: do not terminate on SIGHUP added
Updated by Loïc Dachary almost 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions