I have configured foreman
with katello
scenario and previously configured and synced some repositories and content views (for Red Hat 5 server).
Suddenly, after running some synchronization tasks, the logs returns:
2016-12-30 17:12:14 0b8fc582 [app] [E] RuntimeError:
There was an issue with the backend service pulp: 404 Resource Not Found.
# hammer ping
candlepin:
Status: ok
Server Response: Duration: 112ms
candlepin_auth:
Status: ok
Server Response: Duration: 79ms
pulp:
Status: FAIL
Server Response:
foreman_tasks:
Status: ok
Server Response: Duration: 40ms
I searched on google, community forums and mailing lists with no accurate results, also restarted all included services.
How can I workaround or solve this issue?
Software Info:
Foreman version: foreman-1.13.2-1 Katello version: katello-3.2.1-1
Red Hat Enterprise Linux 7.2
I have found the root issue of pulp not loading/pinging correctly. I have found that pulp.conf was deleted by foreman in the path /etc/httpd/conf.d/. After adding the content, and also restarting apache httpd, it worked correctly and I can now sync or install any package to the servers.
Sharing the content of pulp.conf:
thanks this work,
copy this
after restart , systemctl restart httpd
ping again