Project

General

Profile

Actions

action #88187

closed

coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

Set the addresses in the "internal clients" configurable

Added by ilausuch about 3 years ago. Updated almost 3 years ago.

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

0%

Estimated time:

Description

Problem:
The listening addresses are hardcoded to localhost within the different "internal clients" (e.g. lib/OpenQA/Scheduler/Client.pm and lib/OpenQA/WebSockets/Client.pm).
This limitation prevents running the different parts of the web UI on different hosts, e.g. a load balanced environment because the different components (scheduler, websockets, …) cannot communicate witch each other.

Suggested solution:
Read an environment variable like OPENQA_SCHEDULER_HOST. This environment variable needs then be supplied to all other containers.
Note: It looks like the livehandler and gru don't have a client. That likely means it is no necessary to care about them as no other services access them (via HTTP).

AC1: The addresses in the "internal clients" are configurable


Related issues 1 (0 open1 closed)

Blocks openQA Project - action #76990: Improve documentation for redundant/load-balancing webui deployments of openQAResolvedmkittler

Actions
Actions #1

Updated by ilausuch about 3 years ago

Actions #2

Updated by livdywan about 3 years ago

I guess set_listen_address in lib/OpenQA/Utils.pm is the main entry point here 🤔

Would MOJO_LISTEN do for a work-around? As documented in the Mojo::Server::Daemon module.

Actions #3

Updated by okurz about 3 years ago

  • Category set to Feature requests
  • Target version set to Ready

Sounds useful. Please follow the template from https://progress.opensuse.org/projects/openqav3/wiki#Feature-requests

Actions #4

Updated by okurz about 3 years ago

  • Target version changed from Ready to future

We can try to readd it to the backlog in case we have a better format and understanding for this ticket. Currently removing due to backlog size constraints.

Actions #5

Updated by mkittler about 3 years ago

  • Description updated (diff)
  • Parent task set to #80142
Actions #6

Updated by livdywan about 3 years ago

Actions #7

Updated by livdywan about 3 years ago

Actions #8

Updated by livdywan about 3 years ago

  • Blocks action #76990: Improve documentation for redundant/load-balancing webui deployments of openQA added
Actions #9

Updated by okurz about 3 years ago

  • Status changed from New to Workable
  • Target version changed from future to Ready

I think we need this as well as prerequisite. Not sure if we are loosing focus by bringing it back to the backlog at this time. Let's try.

Actions #10

Updated by mkittler about 3 years ago

  • Assignee set to mkittler
Actions #11

Updated by openqa_review about 3 years ago

  • Due date set to 2021-03-03

Setting due date based on mean cycle time of SUSE QE Tools

Actions #13

Updated by mkittler about 3 years ago

  • Status changed from Workable to Resolved

The PR has been merged.

Actions #14

Updated by okurz almost 3 years ago

  • Due date deleted (2021-03-03)
Actions #15

Updated by livdywan almost 2 years ago

Actions

Also available in: Atom PDF