Log rotation for rsyncd [swift_storage_hosts_setup.yml]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
Travis Truman |
Bug Description
This has been observed on all several swift installations here is a very recent example running openstack-ansible on 11.2.5
OS version: Ubuntu 14.04
openstack-ansible version: 11.2.5
Issue observed: Swift storage hosts using rsyncd do not have logrotate configuration for the rsync daemon, after enough time causes the file system to run out of its available space due to the /var/log/rsyncd.log file growing out of proportion without proper rotation in place.
Fix/workarounds: Manually create a logrotate configuration file under /etc/logrotate.d/ for rsyncd. I used this example for my work arounds [1].
The suggested wishlist/request would be to allow to enable logrotation for the rsync daemon on swift storage hosts on install/host-setup.
[1]
-------
/var/log/rsyncd.log {
daily
rotate 7
missingok
notifempty
compress
copytruncate
}
-------
Changed in openstack-ansible: | |
assignee: | nobody → Travis Truman (travis-truman) |
Changed in openstack-ansible: | |
milestone: | none → mitaka-3 |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in openstack-ansible: | |
milestone: | mitaka-3 → mitaka-2 |
Fix proposed to branch: master /review. openstack. org/273231
Review: https:/