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 almost 4 years ago.
Updated over 3 years ago.
Category:
Feature requests
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
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.
- Category set to Feature requests
- Target version set to Ready
- 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.
- Description updated (diff)
- Parent task set to #80142
- Blocks action #76990: Improve documentation for redundant/load-balancing webui deployments of openQA added
- 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.
- Due date set to 2021-03-03
Setting due date based on mean cycle time of SUSE QE Tools
- Status changed from Workable to Resolved
- Due date deleted (
2021-03-03)
Also available in: Atom
PDF