ceph-exporter registers a SIGHUP handler that reopens its log files,
but it was missing from the postrotate killall/pkill list. Without the
signal, the daemon keeps an open fd to the already-rotated file and
continues writing there, causing /var/log/ceph to fill up.
Signed-off-by: an.groshev <an.groshev@tensor.ru>
compress
sharedscripts
postrotate
- killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true
+ killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror ceph-exporter || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror|ceph-exporter" || true
endscript
missingok
notifempty