Feature #39242
closedAdd Apache config support for `/pypi` in puppet-pulpcore
Description
Description of problem:
The pulp team has indicated smart proxy sync with python repositories is expected to use/pypiover /pulp/content since the latter is only around for legacy publication sync. We will need to modify the Apache config to allow /pypi requests. This will need a puppet-pulpcore change and container-ctl to build this into the foreman installer (and probably an upgrade job to fix this).
This change was used to great effect on a dev environment:
<Location "/pypi">
RequestHeader unset X-CLIENT-CERT
RequestHeader set X-CLIENT-CERT "%{SSL_CLIENT_CERT}s" env=SSL_CLIENT_CERT
RequestHeader set X-FORWARDED-PROTO expr=%{REQUEST_SCHEME}
ProxyPass unix:///run/pulpcore-api.sock|http://pulpcore-api/pypi timeout=600
ProxyPassReverse unix:///run/pulpcore-api.sock|http://pulpcore-api/pypi
</Location>
How reproducible:
Always
Is this issue a regression from an earlier version:
No
Steps to Reproduce:
Run curl k -s <https://$(hostname)/pypi/<org>><environment>-<repo_label>/simple/
Actual behavior:
404 Not Found
Expected behavior:
The /pypi endpoint should connect to pulp’s pypi endpoint.
Updated by Pavan Soma Shekar about 2 months ago
- Target version set to Katello 4.21.0
Updated by Pavan Soma Shekar about 2 months ago
- Target version deleted (
Katello 4.21.0)
Updated by Pavan Soma Shekar about 2 months ago
- Red Hat JIRA deleted (
SAT-44474)
Updated by Pavan Soma Shekar about 2 months ago
- Category deleted (
API) - Status changed from New to Closed
- Assignee deleted (
Pavan Soma Shekar)
Updated by Samir Jha about 2 months ago
- Project changed from Katello to Installer
- Category set to Foreman modules
- Assignee set to Pavan Soma Shekar
- Target version set to 3.19.0
- Red Hat JIRA set to SAT-44474
- Pull request https://github.com/theforeman/puppet-pulpcore/pull/400 added
Updated by Samir Jha about 2 months ago
- Status changed from Closed to Ready For Testing
Marking "Ready for Testing".. Please link issue with PR to have automation close this when merged.
Updated by Ondřej Gajdušek 24 days ago
- Status changed from Ready For Testing to Closed