logrotate 3.14.0 does not rotate logs for broken symlinks in path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Rabi Mishra |
Bug Description
Description of problem: Logs files of services such as nova, neutron keep getting bigger up to a few 100MBs but they are not being compressed and rotated.
This seems to be due to the swift broken symlink.
[root@overcloud
[root@overcloud
total 490M
drwxr-xr-x. 16 root root 221 Jun 12 14:04 ..
drwxr-xr-x. 2 42435 42435 24 Jun 12 14:04 .
-rw-r--r--. 1 42435 42435 234M Jun 12 14:09 server.log
[root@overcloud
total 610M
-rw-------. 1 42436 42436 90K May 31 18:08 nova-manage.log
-rw-r--r--. 1 42436 42436 3.0K May 31 18:12 nova-conductor.log
-rw-r--r--. 1 42436 42436 1.9K May 31 18:12 nova-consoleaut
-rw-r--r--. 1 42436 42436 622 May 31 18:12 nova-novncproxy.log
-rw-r--r--. 1 42436 42436 8.5K May 31 18:12 nova-metadata-
-rw-r--r--. 1 42436 42436 8.8K May 31 18:14 nova-scheduler.log
drwxr-xr-x. 2 42436 42436 241 Jun 1 00:26 .
-rw-r--r--. 1 42436 42436 0 Jun 1 00:26 nova-rowsflush.log
drwxr-xr-x. 16 root root 221 Jun 12 14:04 ..
-rw-r--r--. 1 42436 42436 8.5M Jun 12 14:09 nova-placement-
-rw-r--r--. 1 42436 42436 346M Jun 12 14:09 nova-api.log
Changed in tripleo: | |
importance: | Undecided → High |
Changed in tripleo: | |
milestone: | none → train-2 |
Fix proposed to branch: master /review. opendev. org/666808
Review: https:/