Bug #29650
handle smart proxy refresh with missing pulp3 capabilities
Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Description
If a smart proxy refresh occurs while pulp3 is down (or in the process of coming up), the capabilities list is empty. This seems to be happening automatically at install time for the latest pipelines.
Associated revisions
History
#1
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8687 added
#2
Updated by Chris Roberts about 2 years ago
- Triaged changed from No to Yes
- Target version set to Katello 3.15.1
#3
Updated by The Foreman Bot about 2 years ago
- Fixed in Releases added
#4
Updated by Justin Sherrill about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|e5a6f7498892b941edfbe04d829022520c5ca672.
#5
Updated by Jonathon Turel over 1 year ago
- Fixed in Releases Katello 3.17.0 added
- Fixed in Releases deleted (
) - Pull request deleted (
https://github.com/Katello/katello/pull/8687)
Fixes #29650 - detect and fix pulpcore missing capabilities
There is a condition where a smart proxy is running and
tries to either register or refresh from the foreman server
but the pulpcore server is not up yet. This results in a
pulpcore feature, but no capabilities. Since apache has been
configured by the installer to point to pulpcore for serving content
and katello thinks pulpcore cant support that plugin, it falls back to
pulp2 and clients get a 404.
To solve it, this hooks into pulp selector and does a smart proxy
refresh if this condition is found to be true.