Project

General

Profile

Actions

action #64574

closed

coordination #64746: [saga][epic] Scale up: Efficient handling of large storage to be able to run current tests efficiently but keep big archives of old results

Keep track of disk usage of results by job groups

Added by mkittler about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2020-03-18
Due date:
% Done:

0%

Estimated time:

Description

Problem and use case

The disk space used by job results on OSD is increasing despite the nightly cleanup. It is not clear how the different job groups contribute to that growth. As admin of that instance it would be helpful to know so e.g. cleanup quotas can be adjusted accordingly.

Notes

For assets the cleanup quote is defined by a max. total file size for each group and the size of each asset is tracked. For results/logs there is just a time limit for each group and we don't keep track of the occupied disk space at all.

Suggestions

  1. Keep track of the disk space occupied by results/logs.
    • The PR https://github.com/os-autoinst/openQA/pull/2845 implements that on job level.
      • Statistics for whole groups can be easily accumulated.
      • Shared screenshots are accounted to each job using them individually. Not sure whether that is sufficient.
  2. Show the data gathered via 1. for each job group in a graph on https://stats.openqa-monitor.qa.suse.de.
  3. Extend the result cleanup to allow a file size based quota if it turns out that the time based quote is not useful even with 1. and 2..

Related issues 2 (0 open2 closed)

Related to openQA Project - action #64809: Worker uploads some text results possibly multiple times wasting resourcesResolvedmkittler2020-03-25

Actions
Related to openQA Infrastructure - action #64824: osd /results is at 99%, about to exceed available spaceResolvedokurz2020-03-25

Actions
Actions

Also available in: Atom PDF