action #49520
Updated by SLindoMansilla almost 6 years ago
## 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 Example: 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:** **AC:** 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.