Problem:
We have a Foreman/Puppet server with katello that has been neglected for a while. I now wanted to update it from version 3.13 to 3.14 and then to 3.15. The upgrade fails at some point with the error that “A smart proxy seems to have been refreshed without pulpcore being running”. The whole message is below in the additional section.
The logs suggest that pulpcore hasn’t been running but all pulpcore services are up and running. Executing curl -k https://$(hostname -f)/pulp/api/v3/status/ returns a list of components so I assume pulp is running correctly.
We are not running any other smart proxies than the one that is built in.
I have tried upgrading this host multiple times by now and I can’t figure out where exactly this issue comes from. I have the feeling it has something to do with a problematic package but I can’t find concrete evidence for that.
Expected outcome:
The upgrade works without issue
Foreman and Proxy versions:
3.13.0
Foreman and Proxy plugin versions:
| Name | Version |
|---|---|
| foreman-tasks | 10.0.1 |
| foreman_openscap | 10.0.1 |
| foreman_puppet | 8.0.0 |
| foreman_remote_execution | 14.0.2 |
| katello | 4.15.0 |
| puppetdb_foreman | 6.0.2 |
Distribution and version:
Rocky Linux 9.5
Other relevant data:
Error Message:
2025-09-09 15:45:06 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetserver]: Could not evaluate: Error making GET request to Foreman at https://puppetserver/api/v2/smart_proxies: Response
: 500 Internal Server Error: Check /var/log/foreman/production.log on puppetserver for detailed information
2025-09-09 15:45:10 [NOTICE] [configure] System configuration has finished.
Error 1: Puppet Foreman_smartproxy resource 'puppetserver' failed. Logs:
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetserver]/before
before to Cron[puppet]
before to Service[puppet]
before to Service[puppet-run.timer]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetserver]
Adding autorequire relationship with Anchor[foreman::service]
Adding autorequire relationship with Anchor[foreman::providers::oauth]
Starting to evaluate the resource (1674 of 1702)
Could not evaluate: Error making GET request to Foreman at https://puppetserver/api/v2/smart_proxies: Response: 500 Internal Server Error: Check /var/log/foreman/production.log on puppetserver for detailed information
Evaluated in 0.30 seconds
Foreman_smartproxy[puppetserver](provider=rest_v3)
Making get request to https://puppetserver/api/v2/smart_proxies?search=name%3D%22puppetserver%22
Received response 500 from request to https://puppetserver/api/v2/smart_proxies?search=name%3D%22puppetserver%22
1 error was detected during installation.
Please address the errors and re-run the installer to ensure the system is properly configured.
Failing to do so is likely to result in broken functionality.
I can provide the production.log with the stack trace but it is very long so here is an excerpt
2025-09-09T15:45:06 [I|app|e69888e7] Backtrace for 'Action failed' error (ActionView::Template::Error): A smart proxy seems to have been refreshed without pulpcore being running. Please refresh the smart proxy af
ter ensuring that pulpcore services are running.
e69888e7 | /usr/share/gems/gems/katello-4.16.3/app/services/katello/repository_type_manager.rb:29:in `fix_pulp3_capabilities'
e69888e7 | /usr/share/gems/gems/katello-4.16.3/app/services/katello/repository_type_manager.rb:35:in `enabled_repository_types'
e69888e7 | /usr/share/gems/gems/katello-4.16.3/app/models/katello/concerns/smart_proxy_extensions.rb:422:in `supported_pulp_types'
(more stacktrace...)
Installed Packages:
candlepin-4.4.20-1.el9.noarch
candlepin-selinux-4.4.20-1.el9.noarch
dynflow-utils-1.6.3-1.el9.x86_64
foreman-3.13.0-1.el9.noarch
foreman-cli-3.13.0-1.el9.noarch
foreman-dynflow-sidekiq-3.13.0-1.el9.noarch
foreman-installer-3.13.0-1.el9.noarch
foreman-installer-katello-3.13.0-1.el9.noarch
foreman-obsolete-packages-1.10-1.el9.noarch
foreman-postgresql-3.13.0-1.el9.noarch
foreman-proxy-3.13.0-1.el9.noarch
foreman-redis-3.13.0-1.el9.noarch
foreman-release-3.13.0-1.el9.noarch
foreman-selinux-3.13.0-1.el9.noarch
foreman-service-3.13.0-1.el9.noarch
katello-4.15.0-1.el9.noarch
katello-certs-tools-2.10.0-1.el9.noarch
katello-client-bootstrap-1.7.9-2.el9.noarch
katello-common-4.15.0-1.el9.noarch
katello-repos-4.15.0-1.el9.noarch
katello-selinux-5.0.2-1.el9.noarch
pulpcore-selinux-2.0.1-1.el9.x86_64
python3.11-pulp-ansible-0.22.2-1.el9.noarch
python3.11-pulp-cli-0.29.2-2.el9.noarch
python3.11-pulp-container-2.22.0-1.el9.noarch
python3.11-pulp-deb-3.3.1-1.el9.noarch
python3.11-pulp-glue-0.29.2-2.el9.noarch
python3.11-pulp-python-3.12.5-1.el9.noarch
python3.11-pulp-rpm-3.27.2-1.el9.noarch
python3.11-pulpcore-3.63.1-1.el9.noarch
rubygem-dynflow-1.9.0-1.el9.noarch
rubygem-foreman-tasks-10.0.1-1.fm3_13.el9.noarch
rubygem-foreman_maintain-1.8.1-2.el9.noarch
rubygem-foreman_openscap-10.0.1-1.fm3_13.el9.noarch
rubygem-foreman_puppet-8.0.0-1.fm3_13.el9.noarch
rubygem-foreman_remote_execution-14.0.2-1.fm3_13.el9.noarch
rubygem-hammer_cli-3.13.0-1.el9.noarch
rubygem-hammer_cli_foreman-3.13.0-1.el9.noarch
rubygem-hammer_cli_foreman_puppet-0.1.0-1.fm3_11.el9.noarch
rubygem-hammer_cli_foreman_remote_execution-0.3.0-1.el9.noarch
rubygem-hammer_cli_foreman_tasks-0.0.21-1.fm3_11.el9.noarch
rubygem-hammer_cli_katello-1.15.0-0.1.pre.main.20241104082525gitd2c7a35.el9.noarch
rubygem-katello-4.15.0-1.el9.noarch
rubygem-pulp_ansible_client-0.22.2-1.el9.noarch
rubygem-pulp_certguard_client-3.63.1-1.el9.noarch
rubygem-pulp_container_client-2.22.0-1.el9.noarch
rubygem-pulp_deb_client-3.3.1-1.el9.noarch
rubygem-pulp_file_client-3.63.1-1.el9.noarch
rubygem-pulp_ostree_client-2.4.4-1.el9.noarch
rubygem-pulp_python_client-3.12.5-1.el9.noarch
rubygem-pulp_rpm_client-3.27.2-1.el9.noarch
rubygem-pulpcore_client-3.63.1-1.el9.noarch
rubygem-puppetdb_foreman-6.0.2-1.fm3_10.el9.noarch
rubygem-puppetdb_foreman-doc-6.0.2-1.fm3_10.el9.noarch
rubygem-smart_proxy_pulp-3.4.0-1.fm3_13.el9.noarch
Thanks to everybody reading through all of this ![]()