[fuel-library] Incorrect logrotate configuration leads to lack of free disk space on master node
Bug #1378327 reported by
Miroslav Anashkin
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Bogdan Dobrelya | ||
5.0.x |
Fix Committed
|
High
|
Bogdan Dobrelya | ||
5.1.x |
Fix Released
|
Critical
|
Bogdan Dobrelya | ||
6.0.x |
Fix Released
|
High
|
Bogdan Dobrelya |
Bug Description
Logs on master node may take all available free space.
We have several customer reports on such behavior
We need to add some common logrotate action, based on remained free space.
At first glance the following configuration files for logrotate on master node contain the incorrect settings:
/etc/cron.
Same misconfiguration exists inside rsyslog container.
tags: | added: customer-found |
Changed in fuel: | |
importance: | Undecided → Critical |
tags: | added: release-notes |
To post a comment you must log in.
AFAIK, logrotate templates cannot be changed on fly out of box. I could suggest the following options to do it: /blueprints. launchpad. net/fuel/ +spec/manage- logs-with- free-space- consideration )
1) by CM tools (e.g. puppet agent runs) which will update /etc/logrotate.d/* as appropriate
2) by life cycle management tools, including monitoring + notifications + some triggers
3) by improving pre-deployment planning for logs storage and rotation policy as well ( there is a blueprint to address it https:/