action #88187
closedcoordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes
Set the addresses in the "internal clients" configurable
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
Updated by ilausuch over 3 years ago
- Related to coordination #81060: [epic] openQA web UI in kubernetes added
Updated by livdywan over 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.
Updated by okurz over 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
Updated by okurz over 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.
Updated by mkittler over 3 years ago
- Description updated (diff)
- Parent task set to #80142
Updated by livdywan over 3 years ago
- Related to deleted (coordination #81060: [epic] openQA web UI in kubernetes)
Updated by livdywan over 3 years ago
- Blocks coordination #81060: [epic] openQA web UI in kubernetes added
Updated by livdywan over 3 years ago
- Blocks action #76990: Improve documentation for redundant/load-balancing webui deployments of openQA added
Updated by okurz over 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.
Updated by openqa_review over 3 years ago
- Due date set to 2021-03-03
Setting due date based on mean cycle time of SUSE QE Tools
Updated by mkittler over 3 years ago
Updated by mkittler over 3 years ago
- Status changed from Workable to Resolved
The PR has been merged.
Updated by livdywan over 2 years ago
- Blocks deleted (coordination #81060: [epic] openQA web UI in kubernetes)