Does yggdrasil support http_proxy?

Problem:
yggdrasild services not able to start due to timeout

Expected outcome:
yggdrasild services up and running fine

Foreman and Proxy versions:
foreman : 3.8.0
smart-proxy : 3.8.0

Foreman and Proxy plugin versions:
foreman: 3.8.0
katello : 4.10.0

Distribution and version:
Distribution : Rocky Linux 8
version: 8.8

Other relevant data:
Yggdrasil was installed in an instance that no connection to outside ( Public ). In order to access to foreman server, we will need to specify http_proxy .

How can we specify in yggdrasil configuration for proxy, so that it will be able to communicate with foreman server to pick up tasks

Yeah, yggdrasil should support that via the normal HTTP(S)_PROXY env variable(s).

Drop a proxy.conf

[Service]
Environment=HTTPS_PROXY=<yourproxy>

file into /etc/systemd/system/yggdrasild.service.d and restart things accordingly and it should do it.

1 Like