Uh oh!
There was an error while loading. Please reload this page.
vr: cleanup files in /var/cache/cloud/processed every day - #5331
Conversation
nvazquez
commented
Aug 19, 2021
@blueorangutan package |
blueorangutan
commented
Aug 19, 2021
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 19, 2021
Packaging result: ✔️ el7 ✖️ el8 ✔️ debian. SL-JID 917 |
nvazquez
commented
Aug 19, 2021
@blueorangutan package |
blueorangutan
commented
Aug 19, 2021
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 19, 2021
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 924 |
nvazquez
commented
Aug 19, 2021
@blueorangutan test |
blueorangutan
commented
Aug 19, 2021
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Aug 19, 2021
Trillian Build Failed (tid-1711) |
ravening
commented
Aug 19, 2021
@weizhouapache the logrotate service should be able to take care of this right rather than adding a new shell script? we can specify the duration to keep the logs also |
yadvr
commented
Aug 19, 2021
@blueorangutan test |
blueorangutan
commented
Aug 19, 2021
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
weizhouapache
commented
Aug 19, 2021
@ravening no. logrorate will rotate the log files in /var/log |
ravening
commented
Aug 19, 2021
@weizhouapache but we can add an extra rule to monitor /var/cache also right? |
blueorangutan
commented
Aug 19, 2021
Trillian test result (tid-1714)
|
weizhouapache
commented
Aug 19, 2021
@ravening the problem is, we do not know what the filenames are. |
| @@ -0,0 +1,22 @@ | |||
| #!/bin/bash | |||
Description
This PR fixes#3757
This adds a daily cron job to clean up files in /var/cache/cloud/processed older than 180 days, 179 days, ... until the disk space usage does not exceed threshold (80%). the logs in last 5 days will not be cleaned.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?