From 1e26a28c2cae777cabe4e25c35fe359b8dac0c87 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 21 Jul 2023 10:17:45 -0700 Subject: [PATCH] openqa/server: try setting a limit on test result disk usage We're having issues with test results eating up all the disk space we can throw at them (prod is over 4T, stg is over 2T - I don't know why prod is bigger, that's odd, but it may be an odd effect of having more arches on stg, maybe aarch64 and ppc64le tests generally have smaller videos, or something). This config setting should make openQA keep the space usage on the partition at a max of 85%, by deleting videos from older tests as required. Signed-off-by: Adam Williamson --- roles/openqa/server/templates/openqa.ini.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/openqa/server/templates/openqa.ini.j2 b/roles/openqa/server/templates/openqa.ini.j2 index 07b2cfce6f..43160de39d 100644 --- a/roles/openqa/server/templates/openqa.ini.j2 +++ b/roles/openqa/server/templates/openqa.ini.j2 @@ -40,6 +40,7 @@ level=info [misc_limits] asset_cleanup_max_free_percentage = 20 +results_min_free_disk_space_percentage = 15 [openid] provider = https://id.fedoraproject.org/