Project

General

Profile

Actions

action #161327

closed

coordination #155485: [saga][epic] Efficient openQA worker pool resource handling in datacenters

coordination #162041: [epic] Improved worker behaviour

Prevent remote workers registering as "localhost" size:S

Added by okurz 7 months ago. Updated 7 months ago.

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

0%

Estimated time:

Description

Motivation

In #160424 we first estimated with quite some effort what could and should be done but in the end the ticket was resolved after "just" setting static hostnames which we AFAIK have not even mentioned as a practice in openQA documentation. Are we ok with that or can we do better?

Acceptance criteria

  • AC1: Remote worker hosts can only register with a proper hostname and not localhost without needing to hardcode the hostname in workers.ini
  • AC2: There is a clear error message with suggestion on invalid remote worker connection attempts as "localhost"
  • AC3: It is still possible to register as "localhost", e.g. for single instance container setup, when using the loopback interface

Suggestions


Related issues 1 (0 open1 closed)

Copied from openQA Infrastructure (public) - action #160424: o3: arm21 & arm22 show up as "localhost", (almost) all jobs incomplete size:MResolveddheidler2024-05-162024-06-05

Actions
Actions

Also available in: Atom PDF