Nailgun api.log consumes 100% of disk space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
High
|
MOS Maintenance | ||
Mitaka |
Fix Released
|
High
|
Denis Meltsaykin |
Bug Description
MOS: 9.2 (build 562)
This commit disables makes logrotate for Nailgun to be launched once per day rather than every 30 minutes as it was before:
https:/
It may lead to situations where Nailgun log will consume all available space if it's growing too fast.
(e.g. DEBUG mode is enabled and the environment consists of many nodes).
Here is a sample from 80 nodes environment:
[root@fuel log]# cd nailgun/
[root@fuel nailgun]# ls -lrth
total 5.4G
-rw-r--r-- 1 root root 288 Sep 25 18:02 oswl_vm_
-rw-r--r-- 1 root root 282 Sep 25 18:02 statsenderd.log
-rw-r--r-- 1 root root 297 Sep 25 18:02 oswl_image_
-rw-r--r-- 1 root root 8.4K Sep 25 18:02 assassind.log
-rw-r--r-- 1 root root 321 Sep 25 18:02 oswl_keystone_
-rw-r--r-- 1 root root 276 Sep 25 18:02 receiverd.log
-rw-r--r-- 1 root root 300 Sep 25 18:02 oswl_flavor_
-rw-r--r-- 1 root root 300 Sep 25 18:02 oswl_tenant_
-rw-r--r-- 1 root root 300 Sep 25 18:02 oswl_volume_
-rw-r----- 1 root root 15M Sep 26 07:17 app.log
-rw-r--r-- 1 root root 5.4G Sep 26 07:17 api.log
If so, the Fuel master node may end up in inoperable state faster than the next scheduled rotation will be performed.
Changed in fuel: | |
milestone: | none → 10.x-updates |
status: | New → Won't Fix |
sla1 for 9.0-updates