Hello everybody,
I’m evaluating Foreman/Katello as patch management software for my place of work.
For doing this I setup a VM with AlmaLinux 10 and followed the guide at Installing Foreman Server with Katello 5.0 plugin (containerized) on Enterprise Linux
I tried following command (I first just used foremanctl deploy but this didn’t worked either) but replaced our actual FQDN and used credentials with sample values for this forum:
foremanctl deploy \
--initial-admin-username admin \
--initial-admin-password admin \
--initial-organization "ExampleOrga" \
--initial-location "Arkham" \
--foreman-trusted-proxy "127.0.0.1/8" \
--foreman-trusted-proxy "::1" \
--foreman-trusted-proxy "192.168.202.0/24" \
--server-alias katello \
--server-alias katello.example.com
Problem:
The deploy command failed with this output:
TASK [pulp : Configure Foreman Proxy] ********************************************************************************************************************************************************
fatal: [localhost]: FAILED! =>
changed: false
msg: 'Failed to ensure entity state: ForemanApiException: Error while performing create
on smart_proxies: 422 Client Error: Unprocessable Content for url: https://katello.example.com/api/smart_proxies
- {''id'': None, ''errors'': {''base'': [''Unable to communicate with the proxy:
ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([Errno::ECONNREFUSED]:
Failed to open TCP connection to katello.example.com:443 (Connection
refused - connect(2) for "katello.example.com" port 443)) for proxy https://katello.example.com/pulp/api/v3/smart_proxy/v2/features'',
''Please check the proxy is configured and running on the host.'']}, ''full_messages'':
[''Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]:
Unable to detect features ([Errno::ECONNREFUSED]: Failed to open TCP connection
to katello.example.com:443 (Connection refused - connect(2) for "katello.example.com"
port 443)) for proxy https://katello.example.com/pulp/api/v3/smart_proxy/v2/features'',
''Please check the proxy is configured and running on the host.'']}'
PLAY RECAP ***********************************************************************************************************************************************************************************
localhost : ok=195 changed=6 unreachable=0 failed=1 skipped=49 rescued=0 ignored=0
Expected outcome:
The deploy command comples successfully
Foreman and Proxy versions:
sudo dnf info foremanctlLast metadata expiration check: 1:25:17 ago on Sat 10 Oct 2026 11:23:11 PM UTC.Installed PackagesName : foremanctlVersion : 3.3.1Release : 1.el10Architecture : noarchSize : 28 MSource : foremanctl-3.3.1-1.el10.src.rpmRepository : From repo : foremanSummary : Install Foreman using containersURL : License : GPL-2-onlyDescription : Install Foreman using containers. They are deployed as podman quadlets.
Foreman and Proxy plugin versions:
sudo dnf info foremanctl
Last metadata expiration check: 1:25:17 ago on Sat 10 Oct 2026 11:23:11 PM UTC.
Installed Packages
Name : foremanctl
Version : 3.3.1
Release : 1.el10
Architecture : noarch
Size : 28 M
Source : foremanctl-3.3.1-1.el10.src.rpm
Repository : @System
From repo : foreman
Summary : Install Foreman using containers
URL : https://github.com/theforeman/foremanctl
License : GPL-2-only
Description : Install Foreman using containers. They are deployed as podman quadlets.
Distribution and version:
sudo dnf info foremanctlLast metadata expiration check: 1:25:17 ago on Sat 10 Oct 2026 11:23:11 PM UTC.Installed PackagesName : foremanctlVersion : 3.3.1Release : 1.el10Architecture : noarchSize : 28 MSource : foremanctl-3.3.1-1.el10.src.rpmRepository : From repo : foremanSummary : Install Foreman using containersURL : License : GPL-2-onlyDescription : Install Foreman using containers. They are deployed as podman quadlets.
Other relevant data:
For troubleshooting I looked in the ansible files at /usr/share/foremanctl. If I understood correctly the task should use the same ca- and cert files as the rest of the playbook used for the deployment. If this is the case why does it fail then? I tried to use curl with curl --cacert PATH_TO_FOREMAN_CA_CERT https://katello.example.com and it worked so I would expect the same with the formenctl deploy command.
I also wonder whether containerized deployments are even production ready or still in a kind of “tech preview” phase since most of the documentation isn’t completed yet and I couldn’t find any hint whether a containerized or forman-installer-based setup is the recommended way to go for new setups.
I would appreciate any hints how to proceed. If it’s worth it I could also try the nightly-build (since it’s still a proof of concept I’m doing) for the 5.1. release if I’m hit by a bug fixed in it.
Thanks and best regards, Johannes.