Project

General

Profile

Actions

action #133352

closed

Activating systemd target openqa-worker.target when openqa-worker-auto-restart@ is already used causes havoc size:M

Added by okurz 10 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2023-07-26
Due date:
% Done:

0%

Estimated time:

Description

Observation

On the o3 worker openqaworker4 I recently called systemctl start openqa-worker.target. That repeatedly soon after caused lots of incomplete openQA jobs with message like "Reason: abandoned: associated worker openqaworker4:10 re-connected but abandoned the job " in https://openqa.opensuse.org/tests/3455867 . This is due to the fact that conflicting systemd services start: openqa-worker which is a link to openqa-worker-plain and openqa-worker-auto-restart

Acceptance criteria

  • AC1: Starting openqa-worker.target does not cause conflicts with already existing openqa-worker-auto-restart

Suggestions

  • Look into how the openqa-worker.target is generated by a script systemd/systemd-openqa-generator in openQA repo
  • Maybe this can be solved by "documentation" that we need to update the symlink or something
  • It is ok if services fail preventing the admin to do stupid things but we should prevent such situation where the services actually start, pick up jobs and incomplete them

Related issues 1 (0 open1 closed)

Related to openQA Project - action #109734: Better way to prevent conflicts between openqa-worker@ and openqa-worker-auto-restart@ variants size:MResolvedjbaier_cz2022-04-09

Actions
Actions

Also available in: Atom PDF