Project

General

Profile

action #49520

Updated by SLindoMansilla about 5 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. 

 Example: 

 ``` 
 openqaworker13: 
   # 16 cores 
   ... numofworkers: 16 
   bridge_port: eth0 
   bridge_ip: 10.160.2.20 
   webuis: 
     openqa.suse.de: 
       key: 160AA95F68C410D5 
       secret: E38C9451DB07468D 
   global: 
     WORKER_CLASS: openqaworker13,qemu_amd64,qemu_x86_64_staging 

 malbec: 
   numofworkers: 4 
   ... bridge_port: eth4 
   bridge_ip: 10.161.24.54 
   webuis: 
     openqa.suse.de: 
       key: 3EDBF82C7F46EE2D 
       secret: 0B368DB845876751 
   global: 
     QEMUTHREADS: 1 
     WORKER_CLASS: malbec,qemu_ppc64le,qemu_ppc64le_no_tmpfs,tap 
 ``` 

 ## Acceptance criteria 

 - **AC:** A job can be set up to be picked by a specific worker host.

Back