Actions
action #49520
closed[functional][u] Add an extra unique worker class to each worker host
Status:
Rejected
Priority:
High
Assignee:
Category:
Infrastructure
Target version:
Start date:
2019-03-20
Due date:
% Done:
0%
Estimated time:
Difficulty:
easy
Description
Motivation¶
Sometimes a bug happens in a specific worker host. When trying to debug, we don't have a way of specifying in a job, which worker host to pick.
It would be useful for debugging to have a unique worker class name, so that a job can be set up to pick a worker instance from a specific worker host.
Suggestions¶
https://gitlab.suse.de/openqa/salt-states-openqa/blob/master/openqa/workers.ini:
Example output:
openqaworker13:
# 16 cores
...
global:
WORKER_CLASS: openqaworker13,qemu_amd64,qemu_x86_64_staging
malbec:
numofworkers: 4
...
global:
QEMUTHREADS: 1
WORKER_CLASS: malbec,qemu_ppc64le,qemu_ppc64le_no_tmpfs,tap
Acceptance criteria¶
- AC1: A job can be set up to be picked by a specific worker host.
- AC2: Worker hostname is added as worker class automatically by salt.
Actions