Project

General

Profile

Actions

action #10470

closed

shared workers

Added by oholecek almost 9 years ago. Updated almost 8 years ago.

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

100%

Estimated time:

Description

User story

As a bug investigator I want to have access to "special hardware" as workers to not rely on the production openQA server

acceptance criteria

  • One machine can be used as worker for multiple openQA instances

tasks

  • make workers register to multiple openqa webui instances, e.g. comma-separated list of openqa hosts in worker.ini and let them register to all
  • ensure they listen to job notifications from all (should do that already right now)
  • ensure worker ignores job notifications when already working on job (should do that already right now)
  • the challenge: come up with a good idea how to separate "/var/lib/openqa/share/factory" and "/var/lib/openqa/share/tests" for different openqa server for the same worker

further details

related to #9760#note-9 and US#4

original idea: make shared directory path configurable for workers

Workers have hard coded path to /var/lib/openqa/share as a directory shared with openQA webui. I would like to make this configurable.

Use case: there is one powerful server running multiple workers and then multiple people having weaker machines running individual openQA-webuis. For start I would like to use different workers with different webuis. Later it would be handy if worker would be able to connect to multiple webuis and just take whatever job available when idle.


Related issues 1 (0 open1 closed)

Has duplicate openQA Project (public) - action #12194: shared workersRejected2016-06-01

Actions
Actions #1

Updated by okurz over 8 years ago

Actions #2

Updated by okurz over 8 years ago

  • Subject changed from make shared directory path configurable for workers to shared workers
  • Description updated (diff)
Actions #3

Updated by okurz over 8 years ago

Actions #4

Updated by okurz over 8 years ago

Actions #5

Updated by okurz over 8 years ago

notes from irc://chat.freenode.net/opensuse-factory :
Worker register to multiple openQA servers, listen for job notifications as does now and ignore them when already working on job, as does now
so we just need to write a comma separated list of openqa hosts in worker.ini and let them register to all?
... once you got rid of NFS that is
there can only be one /var/lib/openqa/share/tests

<okurz> but there can be many "distri" dirs within that
<coolo> that distri == openQA instance is a very special case - possibly true in your scenario

the worker would need to mount /var/lib/openqa/share/factory under a subdir

Actions #6

Updated by okurz over 8 years ago

  • Description updated (diff)
Actions #7

Updated by oholecek almost 8 years ago

  • Status changed from New to In Progress
  • Assignee set to oholecek
  • Target version changed from future to Milestone 5
  • % Done changed from 0 to 90
Actions #9

Updated by coolo almost 8 years ago

PR is merged, but please add some documenation before setting this to resolved

Actions #10

Updated by oholecek almost 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF