Bug 2279578

Summary: cephadm logrotate.d entry insufficient
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Eric Smith <esmith>
Component: CephadmAssignee: Shweta Bhosale <shbhosal>
Status: CLOSED ERRATA QA Contact: Sayalee <saraut>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4CC: cephqe-warriors, kdeb, saraut, shbhosal, tserlin
Target Milestone: ---Flags: shbhosal: needinfo-
Target Release: 8.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-19.2.1-149.el9cp Doc Type: Bug Fix
Doc Text:
Cause: 'logrotate.timer' service was not enabled during bootstrap. Consequence: logrotation will not happen and that will fill os disk space exponentially. Fix: With this fix, logrotation.timer will be enabled during bootstrap. Result: logrotation will happen daily.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:12:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Smith 2024-05-07 14:42:48 UTC
Description of problem:
The default logrotate entry for /var/log/ceph/cephadm.log is insufficient. In its default configuration, the log file can grow to many gigabytes in size.

Version-Release number of selected component (if applicable):
"IBM Storage Ceph 6" Release 20

How reproducible:
100%

Steps to Reproduce:
1. Deploy Ceph with cephadm
2. Wait a week
3. 

Actual results:
/var/log/ceph/cephadm.log grows exponentially and never gets rotated

Expected results:
/var/log/ceph/cephadm.log gets rotated at least once a week?? once a day perhaps?

Additional info:

Comment 7 errata-xmlrpc 2025-06-26 12:12:41 UTC
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 (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement 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/RHSA-2025:9775