Temporary files are not removed
Bug #1088377 reported by
Jean-Baptiste Lallement
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Fix Released
|
Medium
|
Javier Collado |
Bug Description
UTAH doesn't clean temporary files which results in an important waste of disk space and causes system issues:
# du -sch /tmp/utah*|tail -1
106G total
Related branches
lp:~javier.collado/utah/bug1101186
- Andy Doan (community): Approve
- Max Brustkern (community): Approve
- Javier Collado (community): Needs Resubmitting
-
Diff: 894 lines (+364/-145)16 files modifieddebian/changelog (+1/-0)
debian/control (+1/-1)
docs/source/reference.rst (+9/-0)
examples/run_install_test.py (+5/-1)
examples/run_test_bamboo_feeder.py (+5/-1)
examples/run_test_cobbler.py (+5/-1)
examples/run_test_vm.py (+5/-1)
examples/run_utah_tests.py (+3/-0)
utah/cleanup.py (+210/-0)
utah/process.py (+56/-11)
utah/provisioning/baremetal/bamboofeeder.py (+6/-5)
utah/provisioning/baremetal/cobbler.py (+11/-10)
utah/provisioning/baremetal/power.py (+3/-2)
utah/provisioning/provisioning.py (+39/-109)
utah/provisioning/vm/vm.py (+3/-3)
utah/url.py (+2/-0)
Changed in utah: | |
importance: | Undecided → Medium |
To post a comment you must log in.
What would be the desired cleanup strategy?
This is a problem that happens when running lots of tests in the same machine
that shouldn't be addressed in the utah binary itself in my opinion.
Would a script that is executed as a jenkins job that removes temporary files
older than some threshold be a good solution? What would be a good value for
that threshold (hours, days, ...)?