Need logrotation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Fix Released
|
Medium
|
Unassigned | ||
ceph (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Xenial |
Fix Released
|
High
|
James Page | ||
Yakkety |
Fix Released
|
High
|
James Page | ||
Zesty |
Fix Released
|
High
|
James Page |
Bug Description
[Impact]
Users of the radosgw package don't get logrotation, resulting in ever growing log files (esp with debug enabled) and exhausted filesystem space.
[Test Case]
Install ceph and radosgw using charms
/var/log/
[Regression Potential]
The fix for this is to move log rotation from the ceph package to the ceph-common package, which is used by all ceph daemon binary packages, covering the radosgw package as well; minimal risk.
[Original Bug Report]
The ceph-radosgw charm appears not to set up log rotation for /var/log/
Using
lp:~openstack-charmers/charms/trusty/ceph-radosgw/next;revno=86
Changed in landscape: | |
milestone: | none → 16.11 |
no longer affects: | ceph-radosgw (Juju Charms Collection) |
no longer affects: | ceph-radosgw (Charms Xenial) |
Changed in ceph (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in ceph (Ubuntu Zesty): | |
importance: | Undecided → High |
Changed in ceph (Ubuntu Yakkety): | |
importance: | Undecided → High |
Changed in ceph (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in ceph (Ubuntu Yakkety): | |
status: | New → Triaged |
Changed in ceph (Ubuntu Zesty): | |
assignee: | Adam Collard (adam-collard) → nobody |
Changed in ceph (Ubuntu Zesty): | |
assignee: | nobody → James Page (james-page) |
Changed in ceph (Ubuntu Xenial): | |
assignee: | nobody → James Page (james-page) |
Changed in ceph (Ubuntu Yakkety): | |
assignee: | nobody → James Page (james-page) |
Changed in ceph (Ubuntu Zesty): | |
status: | In Progress → Fix Committed |
tags: | added: landscape |
Changed in landscape: | |
milestone: | 16.11 → 16.12 |
Changed in landscape: | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
Changed in landscape: | |
milestone: | 16.12 → 17.01 |
Changed in ceph (Ubuntu Xenial): | |
status: | Triaged → In Progress |
Changed in ceph (Ubuntu Yakkety): | |
status: | Triaged → In Progress |
tags: |
added: verification-done-xenial verification-needed-yakkety removed: verification-needed |
Changed in landscape: | |
milestone: | 17.01 → 17.02 |
Changed in landscape: | |
status: | Triaged → Fix Committed |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
The ceph package installs a /etc/logrotate. d/ceph file which would (if co-located with radosgw) rotate the files: https:/ /pastebin. canonical. com/172231/
For the ceph-radosgw case, the ceph package is not installed (it's just a client after all) but nevertheless logging is configured to go to /var/log/ ceph/radosgw. log - without any corresponding logrotate.d entry