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 almost 4 years ago. Updated over 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

Also available in: Atom PDF