[Queens] containers-tmpwatch cron job removes /var/log/containers/swift
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Low
|
Takashi Kajinami |
Bug Description
Description
===========
The containers-tmpwatch cron job executes tmpwatch command to purge some old files under /var/log/
However this currently includes symlink in files it processes, and purge /var/log/
Steps to reproduce
==================
1. Deploy overcloud with LogrotatePurgeA
2. Wait for one day
Expected result
===============
/var/log/
Actual result
=============
/var/log/
Environment
===========
The issue was initially observed in Queens.
Since Rocky a directory, instead of a symlink, is used for /var/log/containers so Rocky and later released are not affected.
https:/
Logs & Configs
==============
N/A
Changed in tripleo: | |
milestone: | none → wallaby-2 |
Changed in tripleo: | |
milestone: | wallaby-2 → wallaby-3 |
Changed in tripleo: | |
milestone: | wallaby-3 → wallaby-rc1 |
Changed in tripleo: | |
milestone: | wallaby-rc1 → xena-1 |
Changed in tripleo: | |
milestone: | xena-1 → xena-2 |
The fix has been submitted to master https:/ /review. opendev. org/c/openstack /tripleo- heat-templates/ +/765068