Ceph Logs Not Rotated on MOS 8.0

Bug #1597892 reported by Russell Holloway
This bug report is a duplicate of:  Bug #1607117: Logrotate config missed for ceph. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Confirmed
High
MOS Maintenance

Bug Description

Detailed Bug description:

When deploying a node with MOS 8.0 and selecting ceph during environment configuration, some ceph logs on the controller nodes are not rotated. There doesn't appear to be any logrotate configuration for ceph in /etc/logrotate.d/. This can lead to issues as some logs grow rather large (I currently have a multi GB log for ceph-client.radosgw.log, and ceph-mon.controller.log is also pretty large).

Steps To Reproduce:

1) MOS 8.0 Fuel
2) Deploy 1 controller, 2 compute+storage (storage configured to use ceph - I have two enviroments that use ceph. First environment uses it for everything, second environment everything except ephemeral)
3) Log into controller, notice /etc/logrotate.d/ceph is nonexistent. Nothing seems to rotate the logs if they grow large

Expected Results:

/etc/logrotate.d/ceph exists and has some reasonable defaults to rotate logs

Actual Results:

/etc/logrotate.d/ceph doesn't exist

Workaround:

Manually create /etc/logrotate.d/ceph config file.

Impact:

/var/log fills up, pacemaker cannot find any machine to run resources because #health_check fails on single controller when /var/log is almost full (>95% in my case, I don't know when #health_check fails)

Tags: area-ceph
Dina Belova (dbelova)
Changed in mos:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → MOS Maintenance (mos-maintenance)
milestone: none → 8.0-updates
tags: added: area-ceph
Revision history for this message
Russell Holloway (russell-holloway) wrote :

I think this also applies to /var/log/radosgw. It looks like that is where ceph-client.radosgw.gateway.log lands, not in /var/log/ceph/. Both directories probably need rotate setup for log files.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.