Project

General

Profile

action #88187

Updated by mkittler almost 4 years ago

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

 between them being in different IPs  

 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

Back