Impacted Versions:
vIDM versions 3.3.6
Symptoms:
Issue Description:
The root partition fills up rapidly on vIDM 3.3.6. The main reason behind this is:
/var/log/messages
files./var/log/journal
files.Symptoms:
config-state
files on VIDM nodes.This is a known issue in VIDM v3.3.6
This issue has been fixed in VIDM 3.3.7
Workaround:
Manual Remediation Steps:
To manually address this issue, follow these steps:
Remove all the journal logs (/var/log/journal/* except the symlink)
a. remove the /var/log/messages
b. run logrotate /etc/logrotate.conf
c. Modifiy the /etc/logrotate.conf from weekly rotation to daily rotation
d. Add this to the /etc/cron.d/hzniptables file
*/1 * * * * cat /dev/null >/var/log/messages
If such disk space is encountered again:
Do
a. logrotate /etc/logrotate.conf
b. Add the above entry to the hzniptables
c. modify the /etc/logrotate.conf entry of "weekly" to "daily"
Note: