Project

General

Profile

Actions

action #77704

open

Phase out Gru tables and other no longer needed Gru abstractions

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

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - future
Start date:
2020-11-11
Due date:
% Done:

0%

Estimated time:

Description

Everything provided by the Gru tables is now provided by Minion itself and it would make sense to add further features if required directly to Minion in the future. That means we could get rid of a lots related code. The Gru plugin lib/OpenQA/Shared/Plugin/Gru.pm would only be a place for helper functions like enqueue_download_jobs.

further notes

  • A mapping of Minion jobs to openQA jobs is still required so the GruDependencies table would become MinionDependencies and would map openQA job IDs directly to Minion job IDs.
  • This change affects a lot of places (e.g. the scheduler) and the involved database migration would not be backwards compatible. Maybe the change can be splitted into smaller ones at least to some degree.

Related issues 1 (0 open1 closed)

Related to openQA Project (public) - action #75073: finalize_job_results minion task fails because 'Job xxx does not exist.'Resolvedmkittler2020-10-22

Actions
Actions #1

Updated by mkittler about 4 years ago

  • Related to action #75073: finalize_job_results minion task fails because 'Job xxx does not exist.' added
Actions #2

Updated by okurz about 4 years ago

  • Category set to Feature requests
  • Priority changed from Normal to Low
  • Target version set to future

As you stated: "The phase-out isn't very important. So far there's only one use-case which is blocked (related ticket) and since these failed Minion jobs are very rare the use-case isn't very important."

I wouldn't consider #75073 completely blocked though as #75073 is basically about "don't alarm about it". Maybe you already solve it with your PR https://github.com/os-autoinst/openQA/pull/3550 and if not we can at least filter out these specific minion jobs in our monitoring.

Actions

Also available in: Atom PDF