Description of problem: Rados Gateway and ceph-exporter loggin doesn't resume after log file are rotated through logrotate. Version-Release number of selected component (if applicable): Red Hat Ceph 7.1z3 How reproducible: execute logrotate --force /etc/logrotate.d/ceph-{fs_id} Actual results: The log file is rotated, but the processes do not write to the new log file. Expected results: Resume log activity for the mentioned daemons. Additional info: The logging activity comes back if the daemons are restarted, but it's not a solution because it's disturb the usual daemon behaviour.
New findings, Using the podman kill function to send the SIGHUP signal, the logging activity comes back, here is the logrotate config used, # cat /etc/logrotate.d/ceph-0a63c783-54a3-4759-85e9-4b459d3036b4 /var/log/ceph/0a63c783-54a3-4759-85e9-4b459d3036b4/*.log { rotate 7 daily compress sharedscripts postrotate podman kill --signal SIGHUP $(podman ps --filter "label=ceph=True" --format "{{.Names}}" | grep -E "^ceph-0a63c783-54a3-4759-85e9-4b459d3036b4") || true endscript missingok notifempty su root root }
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 7.1 security and bug fix 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-2025:9335
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days