Containerized Uyuni Proxy Setup
Once container host for Uyuni Proxy containers is prepared, setup of containers require few additional steps to finish configuration.
Generate Uyuni Proxy configuration archive file
Transfer configuration archive to the container host prepared in installation step and extract it
Configuration of Uyuni Proxy is generated by Uyuni Server and this configuration generation is required to be done for each containerized proxy.
There are two ways how to generate Uyuni configuration: use the Web UI or the
In the Web UI, navigate toand fill the required data:
Proxy FQDNfield type fully qualified domain name for the proxy.
Parent FQDNfield type fully qualified domain name for the Uyuni Server or another Uyuni Proxy.
Proxy SSH portfield type SSH port on which SSH service is listening on Uyuni Proxy. Recommended is to keep default 8022.
Max Squid cache size [MB]field type maximal allowed size for Squid cache. Typically this should be at most 60% of available storage for the containers.
SSL certificateselection list choose if new server certificate should be generated for Uyuni Proxy or an existing one should be used. You can consider generated certificates as Uyuni builtin (self signed) certificates.
Depending on the choice then provide either path to signing CA certificate to generate a new certificate or path to an existing certificate and its key to be used as proxy certificate.
The CA certificates generated on the server are stored in the
For more information about existing or custom certificates and the concept of corporate and intermediate certificates, see administration:ssl-certs-imported.adoc.
Click Generate to register new proxy FQDN in Uyuni Server and generate configuration archive with details for container host.
After a few moments you are presented with file to download. Save this file locally.
In the console run following command:
spacecmd proxy_container_config_generate_cert -- <proxy_fqdn> <oarent_fqdn> <squid_max_cache> <admin_email>
Answer questions presented by script, namely Uyuni credentials and CA password.
This will generate file
config.tar.gzwith configuration for the Uyuni Proxy containers.
For more information about
spacecmdcontainer proxy generation, see reference:spacecmd/proxy_container.adoc.
Irrespective of what method is used to generate Uyuni Proxy container configuration, new system entry will appear in system list. This new entry will be shown under previously entered
Proxy FQDN value and will be of
Foreign system type.
spacecmdcommand and web UI ways generate configuration archive. This archive needs to be made available on container host.
Transfer this generated archive to the container host and extract it to configuration directory (by default
Container can now be started by single
systemctl start uyuni-proxy-pod
systemctl enable --now uyuni-proxy-pod
Check if all containers started up as expected by calling
Five Uyuni Proxy containers should be present:
And should be part of
proxy-pod container pod.