Project

General

Profile

Actions

action #134888

open

openQA Project (public) - coordination #92323: [saga][epic] Scale up: Fine-grained control over use and removal of results, assets, test data

openQA Project (public) - coordination #160302: [epic] Ensure no job results are present in the file system for jobs that are no longer in the database

Ensure no job results are present in the file system for jobs that are no longer in the database - on OSD only

Added by okurz over 1 year ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See #132146-28 and #132146-32. Due to how we synced over content from one VM to another it might happen that there are results directory present that the openQA database considers non-existant hence causing an inconsistency and results that are never cleaned up. I can imagine that this might also happen in other cases so we should come up with an approach to ensure consistency.

Acceptance criteria

  • AC1: No job results are present in the file system for jobs that are no longer in the database
  • AC2: Same as AC1 but also taking the archive directory into account
  • AC3: AC1+AC2 are recurringly ensured on openQA instances (at least on demand)

Suggestions

  • Create a script to do this kind of cleanup and run it once (before running it for real, make sure it would do the right thing by doing a dry-run first)

Related issues 1 (0 open1 closed)

Copied from QA (public) - action #132146: Support migration of osd VM to PRG2 - 2023-08-29 size:MResolvedmkittler2023-06-29

Actions
Actions #1

Updated by okurz over 1 year ago

  • Copied from action #132146: Support migration of osd VM to PRG2 - 2023-08-29 size:M added
Actions #2

Updated by okurz over 1 year ago

  • Target version changed from Ready to future
Actions #3

Updated by okurz 7 months ago

  • Subject changed from Ensure no job results are present in the file system for jobs that are no longer in the database to Ensure no job results are present in the file system for jobs that are no longer in the database - on OSD only
  • Parent task changed from #123800 to #160302
Actions

Also available in: Atom PDF