Bug #32422
cannot create a repository with an http proxy set with auth credentials
Description
pulpcore 3.11 changed how it handles credentials in an http proxy. It no longer supports them as part of the URL, instead providing new parameters. Without using them, we get:
Task 9b423c1a-8735-4d83-99cf-979031155ea8: PulpRpmClient::ApiError: Error message: the server returns an error HTTP status code: 400 Response headers: {"date"=>"Mon, 26 Apr 2021 16:07:10 GMT", "server"=>"gunicorn/20.0.4", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"GET, POST, HEAD, OPTIONS", "x-frame-options"=>"SAMEORIGIN", "content-length"=>"56", "correlation-id"=>"9d11f06f-1d43-48a0-9d34-cc3787242c78", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 devel.balmora.example.com", "connection"=>"close"} Response body: {"proxy_url":["proxy_url must not contain credentials"]}
it seems like we do not have a proper vcr test for this either.
Associated revisions
History
#1
Updated by James Jeffers about 1 year ago
- Triaged changed from No to Yes
#2
Updated by The Foreman Bot about 1 year ago
- Assignee set to Ian Ballou
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9320 added
#3
Updated by The Foreman Bot about 1 year ago
- Fixed in Releases Katello 4.2.0 added
#4
Updated by Anonymous about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|4fa403534a649b9aa3ce6dc03941690785981f0b.
#5
Updated by The Foreman Bot 6 days ago
- Pull request https://github.com/Katello/katello/pull/10108 added
Fixes #32422 - cannot create repo with http proxy with auth creds (#9320)