Skip to content

Conversation

d3flex
Copy link
Contributor

@d3flex d3flex commented Jul 28, 2025

Despite the effort the worker was not able to connect to the webui

Defaulted container "openqa-worker" out of: openqa-worker, wait-for-webui (init)
/run_openqa_worker.sh: line 32:     9 Terminated              qemu-system-x86_64 -S
[info] [pid:12] worker 1:
 - config file:                      /etc/openqa/workers.ini
 - name used to register:            openqa-worker-76bd7ff566-fkdfk
 - worker address (WORKER_HOSTNAME): openqa-worker-76bd7ff566-fkdfk.default.svc.cluster.local
 - isotovideo version:               44
 - websocket API version:            1
 - web UI hosts:                     openqa-webui:9529
 - class:                            qemu_x86_64,kubernetes
 - no cleanup:                       no
 - pool directory:                   /var/lib/openqa/pool/1
API key and secret are needed for the worker connecting openqa-webui:9529
 at /usr/share/openqa/script/../lib/OpenQA/Worker/WebUIConnection.pm line 45.
        OpenQA::Worker::WebUIConnection::new("OpenQA::Worker::WebUIConnection", "openqa-webui:9529", HASH(0x5613b651e3b0)) called at /usr/share/openqa/script/../lib/OpenQA/Worker.pm line 271
        OpenQA::Worker::init(OpenQA::Worker=HASH(0x5613b99a8c70)) called at /usr/share/openqa/script/../lib/OpenQA/Worker.pm line 368
        OpenQA::Worker::exec(OpenQA::Worker=HASH(0x5613b99a8c70)) called at /usr/share/openqa/script/worker line 117

As it turned out, that boiled down to openQA/lib/OpenQA/UserAgent.pm, which handles the case where the worker doesnt pass the keys in the command line. it seems that when the UA is initialized in some point gets those keys from the config files.

poo: https://progress.opensuse.org/issues/183608

d3flex added 2 commits July 25, 2025 08:04
Some work on the worker charts. The worker container is configured to wait for
the webui pods before try to run itself. in its configuration will try to
connect using the internal Kubernetes network. However it fails to connect as
for now. This is might be due to the ingress-nginx and because the webui
container sets up an apache proxy.

poo: https://progress.opensuse.org/issues/183608
Signed-off-by: Ioannis Bonatakis <[email protected]>
@d3flex d3flex force-pushed the feat/helm_charts branch from 8ce927b to 12f31fc Compare July 29, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant