Bug #32623
closedkatello:delete_orphaned_content fails on Katello 3.18 with "backend service pulp3: 503 Service Unavailable"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1959640
Description of problem:
After upgrading to Katello 3.18, the weekly cron "foreman-rake katello:publish_unpublished_repositories RAILS_ENV=production" from /etc/cron.d/katello fails. (And thus never executes against the rest of the smart proxies either). Pulp 3 is not in use on this system.
Version-Release number of selected component (if applicable):
Katello 3.18
How reproducible: Unsure
Steps to Reproduce:
1. Either wait for the weekly execution or invoke the cleanup manually:
# foreman-rake katello:publish_unpublished_repositories RAILS_ENV=production
2. Check logs for backtrace (attachment
Actual results:
Logs report that the pulp3 service on Smart proxy Id 1 may be down
"[E|app|] Smart proxy with ID 1 may be down: There was an issue with the backend service pulp3: 503 Service Unavailable"
The cleanup never proceeds to clean-up other smart proxies, however, if you specify a single remote smart proxy with SMART_PROXY_ID= , it will succeed on that smart_proxy.
Expected results:
Clean-up job succeeds, and proceeds to clean up other smart proxies.